Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to testnet-12 #264

Merged
merged 1 commit into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,36 @@ jobs:
echo "${{ secrets.GCLOUD_KEY }}" | base64 -d > key.json
gcloud auth activate-service-account --key-file=key.json

- name: Build
- name: Build to Mainnet Explorer
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks.json
run: |
yarn
yarn build

- name: Upload
- name: Upload to Mainnet Explorer
run: gsutil -m rsync -r -d ./build gs://spacemesh-explorer

- name: Remove build dir
run: rm -rf ./build

- name: Build dev
- name: Build to Dev Explorer
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-dev.json
PUBLIC_URL: /spacemesh-explorer-dev/
run: |
yarn
yarn build

- name: Upload dev
- name: Upload to Dev Explorer
run: gsutil -m rsync -r -d ./build gs://spacemesh-explorer-dev

- name: Build to testnet-12 Explorer
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-testnet-12.json
run: |
yarn
yarn build

- name: Upload to testnet-12 Explorer
run: gsutil -m rsync -r -d ./build gs://testnet-12-explorer.spacemesh.network
Loading