Skip to content

Adding some build metadata so I can work out what version is deployed #47

Adding some build metadata so I can work out what version is deployed

Adding some build metadata so I can work out what version is deployed #47

Workflow file for this run

name: Build and Deploy to staging
on:
pull_request:
branches: [main]
env:
AZURE_WEBAPP_NAME: httpstatus-preview
IMAGE_NAME: ${{ github.repository }}-staging
permissions:
id-token: write
contents: read
jobs:
build:
uses: ./.github/workflows/build.yaml

Check failure on line 17 in .github/workflows/staging.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/staging.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/staging.yaml" -> "./.github/workflows/build.yaml" : Invalid type for `on`
secrets: inherit
with:
image_name: ${{ env.IMAGE_NAME }}
deploy:
uses: ./.github/workflows/deploy.yaml
secrets: inherit
with:
image_name: ${{ env.IMAGE_NAME }}
azure_webapp_name: ${{ env.AZURE_WEBAPP_NAME }}