Skip to content

Commit 3f8bf91

Browse files
marcduikerkgal-akl
authored andcommitted
Update deployment token (#4928)
* Setup 1.17 Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * Update deployment token, remove obsolete field Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * Add skip_deploy_on_missing_secrets option This field is required when people create a PR based on a branch in their fork and the secret is not available. Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> --------- Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Kobbi Gal <kobbi.g@akeyless.io>
1 parent 9c108bf commit 3f8bf91

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/website-v1-17.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ jobs:
4747
HUGO_ENV: production
4848
HUGO_VERSION: "0.147.9"
4949
with:
50-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_16 }}
51-
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
50+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_17 }}
5251
skip_deploy_on_missing_secrets: true
52+
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
5353
action: "upload"
5454
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
5555
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
@@ -66,6 +66,7 @@ jobs:
6666
id: closepullrequest
6767
uses: Azure/static-web-apps-deploy@v1
6868
with:
69-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_16 }}
69+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_17 }}
7070
skip_deploy_on_missing_secrets: true
71+
app_location: "/daprdocs/public" # App source code path
7172
action: "close"

0 commit comments

Comments
 (0)