Create Volumetric Task #3329
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 Branch | |
on: | |
# Run this workflow on creation (or sync to source branch) of a new pull request | |
pull_request: | |
jobs: | |
build: | |
name: Build staging branch | |
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_branch: | |
name: Deploy staging branch | |
uses: zooniverse/ci-cd/.github/workflows/deploy_static.yaml@main | |
needs: build | |
with: | |
source: 'dist' | |
target: 'preview.zooniverse.org/panoptes-front-end/pr-${{ github.event.number }}' | |
secrets: | |
creds: ${{ secrets.AZURE_STATIC_SITES }} |