Skip to content

Commit 8901096

Browse files
authored
Merge pull request #1047 from clearlydefined/build-deploy-workflow-prod
Create Actions workflow to deploy to production
2 parents 829a8bf + f414466 commit 8901096

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow will build a docker image, push it to ghcr.io, and deploy it to an Azure WebApp.
2+
name: Build and Deploy -- PROD
3+
4+
on:
5+
workflow_dispatch:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
build-and-deploy-prod:
11+
uses: clearlydefined/operations/.github/workflows/app-build-and-deploy.yml@v1.1.0
12+
secrets:
13+
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
14+
AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_PROD }}
15+
AZURE_SECONDARY_WEBAPP_PUBLISH_PROFILE: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_PROD_EU }}
16+
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
17+
PRODUCTION_DEPLOYERS: ${{ secrets.PRODUCTION_DEPLOYERS }}
18+
with:
19+
deploy-env: prod
20+
application-type: ui
21+
azure-app-base-name: clearlydefined
22+
azure-app-name-postfix: -prod
23+
secondary-azure-app-name-postfix: -prod-europe

0 commit comments

Comments
 (0)