Skip to content

Commit

Permalink
updated prod deploy github action to target Release branch
Browse files Browse the repository at this point in the history
updated prod deploy github action to target Release branch instead of targeting a specific version.
  • Loading branch information
PeterWarren committed Feb 28, 2024
1 parent 8ca92f4 commit f66a7fa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Azure Static Web Apps Production CI/CD
name: Deploy to Production AuScope portal portal.auscope.org.au

on:
push:
branches:
# this will be prod so set filters here to control when a release is pushed to the prod static web app
- Release-6.4.0
- Release
# changes committed to the Release branch will be deployed to production AuScope portal.
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
# and here
- Release-6.4.0
- Release

jobs:
build_and_deploy_job:
Expand Down Expand Up @@ -37,6 +36,7 @@ jobs:
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "dist/" # Built app content directory - optional
app_build_command: "npm run build-prod"
###### End of Repository/Build Configurations ######

close_pull_request_job:
Expand Down

0 comments on commit f66a7fa

Please sign in to comment.