Difference between revisions of "GitHub Actions: run:"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<nowiki> | <nowiki> | ||
- run: ./your_script_to_deploy.sh --deploy your_service | - run: ./your_script_to_deploy.sh --deploy your_service | ||
− | + | working-directory: path/to/your/script/ | |
env: | env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
Line 13: | Line 13: | ||
* <code>[[uses:]]</code> | * <code>[[uses:]]</code> | ||
* <code>[[runs-on:]]</code> | * <code>[[runs-on:]]</code> | ||
+ | [[working-directory:]] | ||
== See also == | == See also == |
Revision as of 11:42, 17 February 2023
- run: ./your_script_to_deploy.sh --deploy your_service working-directory: path/to/your/script/ env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Related
working-directory:
See also
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: