Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Added CI/CD configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stranger80 committed Nov 21, 2023
1 parent 3b55903 commit c6791cd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/manual-api-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ env:
DEV_SERVICE_NAME: "rocket-development-svc"
PROD_CLUSTER: "zksync-remix-plugin-production-ecs-cluster"
PROD_SERVICE_NAME: "rocket-production-svc"
API_SERVICE_URL: "https://zksync-remix-api.nethermind.io"
ZKSYNC_DEVNET_URL: "https://zksync-devnet.nethermind.dev"
WALLETCONNECT_PROJECT_ID: '${{secrets.WALLECTCONNECT_PROJECT_ID_PROD}}'

jobs:
Build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -102,7 +106,7 @@ jobs:
# inject the expected React package URL for CORS logic
environment-variables: |
RUST_LOG=INFO
VITE_URL=https://zksync-plugin.nethermind.dev/
VITE_URL=https://zksync-plugin.nethermind.io/
PROMTAIL_USERNAME=${{secrets.PROMTAIL_USERNAME}}
PROMTAIL_PASSWORD=${{secrets.PROMTAIL_PASSWORD}}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/manual-ui-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ env:
NODE_VERSION: '20.x'
BUCKET_NAME: 'zksync-remix-plugin-web'
PROD_BUCKET_NAME: 'zksync-remix-plugin-prod-web'
API_SERVICE_URL: "https://zksync-remix-api.nethermind.io"
ZKSYNC_DEVNET_URL: "https://zksync-devnet.nethermind.dev"
WALLETCONNECT_PROJECT_ID: '${{secrets.WALLECTCONNECT_PROJECT_ID_PROD}}'


permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/remix-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ env:
NODE_VERSION: '20.x'
BUCKET_NAME: 'zksync-remix-plugin-web'
PROD_BUCKET_NAME: 'zksync-remix-plugin-prod-web'
API_SERVICE_URL: "https://zksync-remix-api.nethermind.dev"
ZKSYNC_DEVNET_URL: "https://zksync-devnet.nethermind.dev"
WALLETCONNECT_PROJECT_ID: '${{secrets.WALLECTCONNECT_PROJECT_ID_DEV}}'


permissions:
Expand Down
6 changes: 3 additions & 3 deletions plugin/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VITE_API_URL=https://zksync-plugin-api.nethermind.dev
VITE_API_URL=$API_SERVICE_URL # https://zksync-plugin-api.nethermind.dev
VITE_DEVNET_URL=http://127.0.0.1:8011
VITE_REMOTE_DEVNET_URL=https://zksync-devnet.nethermind.dev
VITE_REMOTE_DEVNET_URL=$ZKSYNC_DEVNET_URL # https://zksync-devnet.nethermind.dev
VITE_VERSION=$npm_package_version
VITE_WALLET_CONNECT_PROJECT_ID=630093679339d9e6a59508feafbae4ce
VITE_WALLET_CONNECT_PROJECT_ID=$WALLETCONNECT_PROJECT_ID

0 comments on commit c6791cd

Please sign in to comment.