working-directory:

From wikieduonline
Jump to navigation Jump to search



      - 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: Clean temp directory
  run: rm -rf *
  working-directory: ./temp

Related

See also

Advertising: