Skip to content

Commit

Permalink
Skip deployment on missing secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramo-Y committed May 1, 2024
1 parent f63f2db commit 286f331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/azure-static-web-apps-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
api_location: "" # Api source code path - optional
output_location: "_site" # Built app content directory - optional
###### End of Repository/Build Configurations ######
env:
SKIP_DEPLOY_ON_MISSING_SECRETS: true

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/azure-static-web-apps-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
api_location: "" # Api source code path - optional
output_location: "_site" # Built app content directory - optional
###### End of Repository/Build Configurations ######
env:
SKIP_DEPLOY_ON_MISSING_SECRETS: true

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand Down

0 comments on commit 286f331

Please sign in to comment.