Skip to content

Commit 3461bec

Browse files
committed
👷 ci(azure): update workflow trigger and API token
- change trigger from branch events to manual workflow_dispatch for more control - update Azure Static Web Apps API token to 'AGREEABLE_ISLAND_0C966E810' for security compliance
1 parent 438e1a6 commit 3461bec

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/azure-static-web-apps-agreeable-island-0c966e810.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
name: Azure Static Web Apps CI/CD
22

3-
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
8-
types: [opened, synchronize, reopened, closed]
9-
branches:
10-
- main
3+
on: workflow_dispatch
114

125
jobs:
136
build_and_deploy_job:

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ jobs:
329329
skip_api_build: false
330330
output_location: ""
331331
deployment_environment: ${{ (needs.Setup.outputs.ScrumGuidesExpansionPack_AzureSitesEnvironment) }}
332-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LEMON_STONE_0045B7F10 }}
332+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_ISLAND_0C966E810 }}
333333

334334
- name: "Show Summery"
335335
if: always()

0 commit comments

Comments
 (0)