Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #125 from FIRST-Tech-Challenge/production-deploy
Browse files Browse the repository at this point in the history
Support running deploy action from the release action.
  • Loading branch information
cmacfarl authored Oct 7, 2021
2 parents 000c4c7 + cc8df1f commit c5b389a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/push-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ on:
types: [published]

jobs:
build:
push-to-prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Note, uses personal access token to cause GitHub to run another action on push
# from this action. Care should be taken to ensure recursive runs do not ensue.
token: ${{secrets.ACTION_PAT}}
fetch-depth: 0
- run: |
git checkout main
Expand Down

0 comments on commit c5b389a

Please sign in to comment.