Skip to content

Merge pull request #112 from spacemeshos/add-testnet-hare-4 #53

Merge pull request #112 from spacemeshos/add-testnet-hare-4

Merge pull request #112 from spacemeshos/add-testnet-hare-4 #53

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-15 Dashboard
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-testnet-15.json
run: |
yarn
yarn build
- name: Upload to testnet-15 Dashboard
run: gsutil -m rsync -r -d ./build gs://testnet-15-dashboard.spacemesh.network
- name: Build to testnet-atxmerge2 Dashboard
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-testnet-atxmerge2.json
run: |
yarn
yarn build
- name: Upload to testnet-atxmerge2 Dashboard
run: gsutil -m rsync -r -d ./build gs://testnet-atxmerge2-dashboard.spacemesh.network
- name: Build to testnet-atxmerge3 Dashboard
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-testnet-atxmerge3.json
run: |
yarn
yarn build
- name: Upload to testnet-atxmerge3 Dashboard
run: gsutil -m rsync -r -d ./build gs://testnet-atxmerge3-dashboard.spacemesh.network
- name: Build to testnet-hare-4 Dashboard
env:
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks-testnet-hare-4.json
run: |
yarn
yarn build
- name: Upload to testnet-hare-4 Dashboard
run: gsutil -m rsync -r -d ./build gs://testnet-hare-4-dashboard.spacemesh.network