Skip to content

Fix testnet-12 Bucket Name #45

Fix testnet-12 Bucket Name

Fix testnet-12 Bucket Name #45

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Init gcloud
run: |
echo "${{ secrets.GCLOUD_KEY }}" | base64 -d > key.json
gcloud auth activate-service-account --key-file=key.json
- name: Build to Mainnet Dashboard
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks.json
run: |
yarn
yarn build
- name: Upload to Mainnet Dashboard
run: gsutil -m rsync -r -d ./build gs://spacemesh-dash
- name: Build to testnet-12 Dashboard
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-testnet-12.json
run: |
yarn
yarn build
- name: Upload to testnet-12 Dashboard
run: gsutil -m rsync -r -d ./build gs://testnet-12-dashboard.spacemesh.network