Skip to content

Build and Deploy -- DEV #19

Build and Deploy -- DEV

Build and Deploy -- DEV #19

# This workflow will build a docker image, push it to ghcr.io, and deploy it to an Azure WebApp.
name: Build and Deploy -- DEV
on:
workflow_dispatch:
push:
branches: [master]
jobs:
upload-package-lock-json:
name: Upload package-lock.json from this repo
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Upload package-lock.json
uses: actions/upload-artifact@v4
with:
name: package-lock.json
path: package-lock.json
build-and-deploy:
uses: clearlydefined/operations/.github/workflows/[email protected]

Check failure on line 24 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/[email protected]" (source tag with sha:67ae287de0925342b47918dbe08562f86a74811b) --> "clearlydefined/operations/.github/workflows/[email protected]" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
secrets:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_DEV }}
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
PRODUCTION_DEPLOYERS: ${{ secrets.PRODUCTION_DEPLOYERS }}
with:
deploy-env: dev
application-type: ui
azure-app-base-name: clearlydefined
azure-app-name-postfix: -dev
docker-build-args: "REACT_APP_SERVER=https://dev.clearlydefined.io"