From 0595340d0e5cd72b06107ef2eb0785a601ec686f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Mon, 6 May 2024 16:33:51 +0200 Subject: [PATCH] Add workflow to deploy to dev environment --- .github/workflows/build-and-deploy-dev.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build-and-deploy-dev.yml diff --git a/.github/workflows/build-and-deploy-dev.yml b/.github/workflows/build-and-deploy-dev.yml new file mode 100644 index 00000000..e67c69da --- /dev/null +++ b/.github/workflows/build-and-deploy-dev.yml @@ -0,0 +1,21 @@ +# 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: + build-and-deploy: + uses: clearlydefined/operations/.github/workflows/app-build-and-deploy.yml@v1.0.0 + 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