Add tooltips to rewards page #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 Explorer | |
env: | |
REACT_APP_DISCOVERY_SERVICE_URL: https://configs.spacemesh.network/networks.json | |
REACT_APP_LABELS_PER_UNIT: 4294967296 | |
run: | | |
yarn | |
yarn build | |
- name: Upload to Mainnet Explorer | |
run: gsutil -m rsync -r -d ./build gs://spacemesh-explorer | |
- name: Set cache-control headers for Mainnet Explorer | |
run: gsutil -m setmeta -h "Cache-Control:public, max-age=0, no-transform" -r gs://spacemesh-explorer/index.html | |
- name: Remove build dir | |
run: rm -rf ./build | |
- 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 to Dev Explorer | |
run: gsutil -m rsync -r -d ./build gs://spacemesh-explorer-dev |