Skip to content

Commit

Permalink
Deploy to testnet-12
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-spacemesh committed May 16, 2024
1 parent 33f516c commit c30a393
Showing 1 changed file with 14 additions and 4 deletions.
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

0 comments on commit c30a393

Please sign in to comment.