Deploy V3 to QA Quickstart (#135) (#136) (#137) #5
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: Continuous Deployment to mainNet | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy quickstart | |
defaults: | |
run: | |
working-directory: gen-web | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust minimal stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- run: npm ci | |
- name: Build site | |
env: | |
MEMBRANE_PROOF_SERVICE_URL: "https://hbs.holo.host" | |
run: 'npm run build --if-present' | |
- name: Publish site | |
uses: cloudflare/[email protected] | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
workingDirectory: 'gen-web' | |
environment: mainnet |