Skip to content

Bump github/branch-deploy from 9.10.0 to 10.0.0 #921

Bump github/branch-deploy from 9.10.0 to 10.0.0

Bump github/branch-deploy from 9.10.0 to 10.0.0 #921

name: Deploy Staging
on:
pull_request:
pull_request_target:
workflow_call:
inputs:
github-ref:
required: true
type: string
jobs:
deploy-staging:
name: Build & Deploy
if: |
(github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') ||
(github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]')
uses: ./.github/workflows/deploy-environment.yml
secrets: inherit
with:
environment-name: Staging
artifact-name: staging-pr${{github.event.number}}.zip
channel-name: pr${{github.event.number}}
channel-expiration: "--expires 30d"
github-ref: ${{ inputs.github-ref || github.ref }}
api-base-url: ${{ vars.API_STAGING_BASE_URL }}