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