Skip to content

Commit

Permalink
fix the example of runs_on (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jul 19, 2024
1 parent bfc2881 commit 1c41632
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/config/tfaction-root-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,16 @@ target_groups:
target: gcp/
aws_region: ap-northeast-1
template_dir: templates/github
runs_on: ubuntu-latest # default is "ubuntu-latest". This is useful to use GitHub Actions Self Hosted Runner for the specific provider

# runs_on is GitHub Actions jobs' `runs-on`.
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
# https://github.com/suzuki-shunsuke/tfaction-example/blob/b8a1740fb881ed8753dba8c76f5df521f1a71dde/.github/workflows/apply.yaml#L29
# The default value is "ubuntu-latest".
# Either a string or an array of strings.
# This is useful to use a GitHub Actions Self Hosted Runner for the specific provider
runs_on: ubuntu-latest
# runs_on: [self-hosted, linux, x64, gpu]

environment: # default is null
# https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment
name: production
Expand Down

0 comments on commit 1c41632

Please sign in to comment.