Difference between revisions of "GitHub Actions: run:"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
   - name: your name
 
   - name: your name
     [[env:]]  
+
     [[GitHub Actions env:|env:]]  
 
           XXXXXX
 
           XXXXXX
 
           XXXXXXX
 
           XXXXXXX

Revision as of 14:38, 18 July 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 }}


  - name: your name
    env: 
          XXXXXX
          XXXXXXX
    run: yarn build
    continue-on-error: true
run: echo "{environment_variable_name}={value}" >> $GITHUB_ENV


Related

See also

Advertising: