-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releases for governance and oracle-manager
- Loading branch information
Showing
7 changed files
with
120 additions
and
23 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,51 @@ | ||
name: release-governance | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'release-governance-*' | ||
branches: | ||
- 'governance-synthetix-eth' | ||
- 'releases' | ||
|
||
jobs: | ||
release-governance: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: git config --global user.email [email protected] | ||
- run: git config --global user.name synthetix-team | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: governance | ||
repository: 'Synthetixio/v3.synthetix.eth' | ||
ref: 'master' | ||
ssh-key: '${{ secrets.GOVERNANCE_SSH_KEY }}' | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: v3ui | ||
ref: '${{ github.sha }}' | ||
ssh-key: '${{ secrets.V3UI_SSH_KEY }}' | ||
|
||
- run: yarn workspaces focus @snx-v3/governance | ||
working-directory: v3ui | ||
|
||
- run: yarn workspace @snx-v3/governance build | ||
working-directory: v3ui | ||
|
||
- run: rm -rf ./governance/* | ||
- run: cp -r ./v3ui/governance/ui/dist ./governance/ | ||
|
||
- run: git add . | ||
working-directory: governance | ||
|
||
- run: | | ||
git commit -m "Release ${{ github.event.release.name }}" \ | ||
--allow-empty \ | ||
-m "Source: ${{ github.server_url}}/${{ github.repository }}" \ | ||
-m "Commit: ${{ github.sha }}" | ||
working-directory: governance | ||
- run: git push origin master | ||
working-directory: governance |
25 changes: 12 additions & 13 deletions
25
.github/workflows/release-lp.yml → .github/workflows/release-liquidity.yml
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 |
---|---|---|
@@ -1,52 +1,51 @@ | ||
name: release-lp | ||
name: release-liquidity | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'release-lp-*' | ||
- 'release-liquidity-*' | ||
branches: | ||
- 'liquidity-synthetix-eth' | ||
- 'releases' | ||
|
||
jobs: | ||
release-lp: | ||
# Should be good without checks, we wouldn't release smth that's broken | ||
# if: ${{ github.event.check_suite.conclusion == 'success' }} | ||
release-liquidity: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: git config --global user.email [email protected] | ||
- run: git config --global user.name synthetix-team | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: lp | ||
path: liquidity | ||
repository: 'Synthetixio/liquidity.synthetix.eth' | ||
ref: 'master' | ||
ssh-key: '${{ secrets.LIQUIDITY_UI_DEPLOYER_SSH_PRIVATE_KEY }}' | ||
ssh-key: '${{ secrets.LIQUIDITY_SSH_KEY }}' | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: v3ui | ||
ref: '${{ github.sha }}' | ||
ssh-key: '${{ secrets.SSH_PRIVATE_KEY }}' | ||
ssh-key: '${{ secrets.V3UI_SSH_KEY }}' | ||
|
||
- run: yarn workspaces focus @snx-v3/liquidity | ||
working-directory: v3ui | ||
|
||
- run: yarn workspace @snx-v3/liquidity build | ||
working-directory: v3ui | ||
|
||
- run: rm -rf ./lp/* | ||
- run: cp -r ./v3ui/liquidity/ui/dist/* ./lp/ | ||
- run: rm -rf ./liquidity/* | ||
- run: cp -r ./v3ui/liquidity/ui/dist/* ./liquidity/ | ||
|
||
- run: git add . | ||
working-directory: lp | ||
working-directory: liquidity | ||
|
||
- run: | | ||
git commit -m "Release ${{ github.event.release.name }}" \ | ||
--allow-empty \ | ||
-m "Source: ${{ github.server_url}}/${{ github.repository }}" \ | ||
-m "Commit: ${{ github.sha }}" | ||
working-directory: lp | ||
working-directory: liquidity | ||
- run: git push origin master | ||
working-directory: lp | ||
working-directory: liquidity |
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,51 @@ | ||
name: release-oracle-manager | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'release-oracle-manager-*' | ||
branches: | ||
- 'oracle-manager-synthetix-eth' | ||
- 'releases' | ||
|
||
jobs: | ||
release-oracle-manager: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: git config --global user.email [email protected] | ||
- run: git config --global user.name synthetix-team | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: oracle-manager | ||
repository: 'Synthetixio/oracle-manager.synthetix.eth' | ||
ref: 'master' | ||
ssh-key: '${{ secrets.ORACLE_MANAGER_SSH_KEY }}' | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: v3ui | ||
ref: '${{ github.sha }}' | ||
ssh-key: '${{ secrets.V3UI_SSH_KEY }}' | ||
|
||
- run: yarn workspaces focus @snx-v3/oracle-manager | ||
working-directory: v3ui | ||
|
||
- run: yarn workspace @snx-v3/oracle-manager build | ||
working-directory: v3ui | ||
|
||
- run: rm -rf ./oracle-manager/* | ||
- run: cp -r ./v3ui/oracle-manager/ui/dist ./oracle-manager/ | ||
|
||
- run: git add . | ||
working-directory: oracle-manager | ||
|
||
- run: | | ||
git commit -m "Release ${{ github.event.release.name }}" \ | ||
--allow-empty \ | ||
-m "Source: ${{ github.server_url}}/${{ github.repository }}" \ | ||
-m "Commit: ${{ github.sha }}" | ||
working-directory: oracle-manager | ||
- run: git push origin master | ||
working-directory: oracle-manager |
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 |
---|---|---|
|
@@ -6,11 +6,10 @@ on: | |
- 'release-website-*' | ||
branches: | ||
- 'v3-synthetix-eth' | ||
- 'releases' | ||
|
||
jobs: | ||
release-website: | ||
# Should be good without checks, we wouldn't release smth that's broken | ||
# if: ${{ github.event.check_suite.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: git config --global user.email [email protected] | ||
|
@@ -21,13 +20,13 @@ jobs: | |
path: website | ||
repository: 'Synthetixio/v3.synthetix.eth' | ||
ref: 'master' | ||
ssh-key: '${{ secrets.V3_WEBSITE_DEPLOYER_SSH_PRIVATE_KEY }}' | ||
ssh-key: '${{ secrets.WEBSITE_SSH_KEY }}' | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
path: v3ui | ||
ref: '${{ github.sha }}' | ||
ssh-key: '${{ secrets.SSH_PRIVATE_KEY }}' | ||
ssh-key: '${{ secrets.V3UI_SSH_KEY }}' | ||
|
||
- run: yarn workspaces focus @snx-v3/website | ||
working-directory: v3ui | ||
|
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
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
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