Difference between revisions of "GitHub Actions: run:"

From wikieduonline
Jump to navigation Jump to search
Line 17: Line 17:
 
* <code>[[uses:]]</code>
 
* <code>[[uses:]]</code>
 
* <code>[[runs-on:]]</code>
 
* <code>[[runs-on:]]</code>
[[working-directory:]]
+
* [[working-directory:]]
  
 
== See also ==
 
== See also ==

Revision as of 23:04, 14 May 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 }}

run: echo "{environment_variable_name}={value}" >> $GITHUB_ENV


Related

See also

Advertising: