forked from ssvlabs/ssv-web
-
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.
Merge pull request ssvlabs#1107 from ssvlabs/stage
Stage to main
- Loading branch information
Showing
3 changed files
with
194 additions
and
143 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 |
---|---|---|
|
@@ -219,6 +219,35 @@ jobs: | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGE_AWS_SECRET_ACCESS_KEY }} | ||
# </sumbat-app.stage.ssv.network> | ||
|
||
# <beta.app.ssv.network> | ||
- name: Run prod-test webapp build | ||
if: github.ref == 'refs/heads/prod-test' | ||
run: > | ||
GAS_PRICE="${{ env.GAS_PRICE }}" | ||
GAS_LIMIT="${{ env.GAS_LIMIT }}" | ||
SSV_NETWORKS="${{ env.PROD_SSV_NETWORKS }}" | ||
BLOCKNATIVE_KEY="$BLOCKNATIVE_KEY" | ||
LINK_SSV_DEV_DOCS="$LINK_SSV_DEV_DOCS" | ||
yarn build | ||
env: | ||
GAS_PRICE: ${{ secrets.GAS_PRICE }} | ||
GAS_LIMIT: ${{ secrets.GAS_LIMIT }} | ||
BLOCKNATIVE_KEY: ${{ secrets.BLOCKNATIVE_KEY }} | ||
LINK_SSV_DEV_DOCS: ${{ secrets.LINK_SSV_DEV_DOCS }} | ||
|
||
- name: Deploy prod-test webapp | ||
if: github.ref == 'refs/heads/prod-test' | ||
uses: jakejarvis/[email protected] | ||
with: | ||
args: --acl public-read --follow-symlinks --delete | ||
env: | ||
SOURCE_DIR: 'build/' | ||
AWS_REGION: 'us-west-2' | ||
AWS_S3_BUCKET: ${{ secrets.PROD_AWS_S3_BUCKET_TEST }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.PROD_AWS_SECRET_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }} | ||
# </beta.app.ssv.network> | ||
|
||
# <beta.app.ssv.network> | ||
- name: Run prod webapp build | ||
if: github.ref == 'refs/heads/main' | ||
|
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
Oops, something went wrong.