Add Azure Front Door support to static assets deploy action #234
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy DX Website to Azure | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "apps/website/**" # Trigger only when this app changes | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- main | |
paths: | |
- "apps/website/**" | |
jobs: | |
deploy_to_static_web_app: | |
uses: pagopa/dx/.github/workflows/release-azure-staticapp-v1.yaml@main # Path to the reusable workflow | |
secrets: inherit | |
with: | |
workspace_name: "docs" # The 'name' from the app's package.json | |
output_dir: "build" # The build output directory name | |
static_web_app_name: "dx-p-itn-website-stapp-01" | |
resource_group_name: "dx-p-itn-common-rg-01" | |
environment: "app-prod" |