Skip to content

Build and Deploy -- DEV #54

Build and Deploy -- DEV

Build and Deploy -- DEV #54

# This workflow will build a docker image, push it to ghcr.io, and deploy it to an Azure WebApp.
name: Build and Deploy to dev service app
on:
workflow_dispatch:
inputs: # TODO: REMOVE: This is a temporary step to ensure the deployable check works. Remove all inputs.
user:
description: 'User to check deployable status'
required: true
default: 'jeffmcaffer'
push:
branches: [master]
jobs:
# TODO: REMOVE: This is a temporary step to ensure the deployable check works
check-deployable:
uses: clearlydefined/operations/.github/workflows/deployable.yml@elr/deploy-limits
secrets: inherit
with:
user: ${{ github.event.inputs.user }}
build-and-deploy:
uses: clearlydefined/operations/.github/workflows/build-and-deploy-dev.yml@elr/shared-dev-deploy

Check failure on line 23 in .github/workflows/build-and-deploy-dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-deploy-dev.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-and-deploy-dev.yml" -> "clearlydefined/operations/.github/workflows/build-and-deploy-dev.yml@elr/shared-dev-deploy" (source branch with sha:2123bc1e9cbc8cab711a2a0a73b092ff884e5c88) : reusable workflows should be referenced at the top-level `jobs.*.uses' key, not within steps
secrets: inherit
with:
application-name: "clearlydefined-api"
application-type: "api"