Skip to content

fem redirect: fishstory (#7094) #6

fem redirect: fishstory (#7094)

fem redirect: fishstory (#7094) #6

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 }}