Create Volumetric Task (#7227) #940
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 PFE Staging | |
on: | |
# Run this workflow on creation (or sync to source branch) of a new pull request | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build staging | |
uses: zooniverse/ci-cd/.github/workflows/npm_build.yaml@main | |
with: | |
commit_id: ${{ github.sha }} | |
node_version: 'lts/iron' | |
output: 'dist' | |
script: 'build-production' | |
deploy_staging: | |
name: Deploy staging | |
uses: zooniverse/ci-cd/.github/workflows/deploy_static.yaml@main | |
needs: build | |
with: | |
source: 'dist' | |
target: 'preview.zooniverse.org/panoptes-front-end/master' | |
secrets: | |
creds: ${{ secrets.AZURE_STATIC_SITES }} |