-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 do not allow staging and prod deployment at the same time
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
environment: production | ||
steps: | ||
- name: Wait for possible ongoing staging deployment to succeed | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: main | ||
check-name: '🚀 Staging deployment' | ||
repo-token: ${{ secrets.PAT }} | ||
wait-interval: 20 | ||
|
||
- name: Do some magic | ||
run: echo magic | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters