Deploy V3 to QA Quickstart (#135) #7
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 QA | |
on: | |
push: | |
branches: | |
- QA | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy qa-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.qa.holotest.net' | |
run: 'npm run build --if-present' | |
- name: Publish site | |
uses: cloudflare/[email protected] | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
workingDirectory: 'gen-web' | |
environment: QA |