Skip to content

Commit

Permalink
Add workflow to deploy to dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaxis authored May 6, 2024
1 parent 4a881b7 commit 0595340
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-and-deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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

0 comments on commit 0595340

Please sign in to comment.