Skip to content

Commit

Permalink
Merge pull request ssvlabs#1107 from ssvlabs/stage
Browse files Browse the repository at this point in the history
Stage to main
  • Loading branch information
axelrod-blox authored Jul 31, 2024
2 parents 034a99c + 748b928 commit 4c922ab
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 143 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@
"url": "^0.11.0",
"url-loader": "4.1.1",
"util": "^0.12.5",
"viem": "^2.9.32",
"viem": "^2.18.6",
"virtua": "^0.33.3",
"wagmi": "^2.9.7",
"wagmi": "^2.12.2",
"web3": "^4.7.0",
"zod": "^3.23.8"
},
Expand Down
Loading

0 comments on commit 4c922ab

Please sign in to comment.