mirror of https://github.com/dapr/docs.git
update workflow for 1.11
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
b2bd42a22d
commit
dd843363bc
|
|
@ -3,11 +3,11 @@ name: Azure Static Web App v1.9
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v1.10
|
- v1.11
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, closed]
|
types: [opened, synchronize, reopened, closed]
|
||||||
branches:
|
branches:
|
||||||
- v1.10
|
- v1.11
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy_job:
|
build_and_deploy_job:
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
HUGO_ENV: production
|
HUGO_ENV: production
|
||||||
HUGO_VERSION: "0.100.2"
|
HUGO_VERSION: "0.100.2"
|
||||||
with:
|
with:
|
||||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_10 }}
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_11 }}
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
||||||
skip_deploy_on_missing_secrets: true
|
skip_deploy_on_missing_secrets: true
|
||||||
action: "upload"
|
action: "upload"
|
||||||
|
|
@ -49,6 +49,6 @@ jobs:
|
||||||
id: closepullrequest
|
id: closepullrequest
|
||||||
uses: Azure/static-web-apps-deploy@v0.0.1-preview
|
uses: Azure/static-web-apps-deploy@v0.0.1-preview
|
||||||
with:
|
with:
|
||||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_10 }}
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_11 }}
|
||||||
skip_deploy_on_missing_secrets: true
|
skip_deploy_on_missing_secrets: true
|
||||||
action: "close"
|
action: "close"
|
||||||
Loading…
Reference in New Issue