forked from accessibility-exchange/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: sync new releases to production and staging (accessibility-exchan…
- Loading branch information
1 parent
db7f3dc
commit 58b4a9c
Showing
2 changed files
with
34 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Sync release to production | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
sync-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Open pull request to production | ||
uses: tretuna/sync-branches@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
FROM_BRANCH: ${{ github.event.release.tag_name }} | ||
TO_BRANCH: "production" |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Sync release to staging | ||
|
||
on: | ||
release: | ||
types: [prereleased, released] | ||
|
||
jobs: | ||
sync-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Open pull request to staging | ||
uses: tretuna/sync-branches@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
FROM_BRANCH: ${{ github.event.release.tag_name }} | ||
TO_BRANCH: "staging" |