Skip to content

Workflow file for this run

name: Deploy
on:
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
workflow_dispatch:
release:
types: [published]
env:
REACT_APP_PUBLIC_SURVEY_ENABLED: 'false'
REACT_APP_API_URL: https://api.bostonhpa.org
jobs:
deploy-server:
uses: ./.github/workflows/deploy.yml

Check failure on line 15 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy.yml" -> "./.github/workflows/deploy.yml" (source tag with sha:5bc251a08de2df42737bdcb8a7a0f42ad74b5c75) : workflow is not reusable as it is missing a `on.workflow_call` trigger
needs: [test-backend]
with:
app: bhpa-backend
context: backend
port: 3000
secrets: inherit
deploy-website:
uses: ./.github/workflows/deploy.yml
needs: [test-ui]
with:
app: bhpa-frontend
context: frontend/front
port: 8080
secrets:
build-args: |
REACT_APP_RECAPTCHA_KEY=${{ secrets.REACT_APP_RECAPTCHA_KEY }}
REACT_APP_PUBLIC_SURVEY_ENABLED=${{ env.REACT_APP_PUBLIC_SURVEY_ENABLED }}
REACT_APP_API_URL=${{ env.REACT_APP_API_URL }}