mirror of https://github.com/dapr/docs.git
Update wrkflow for v1.3
This commit is contained in:
parent
dfc68090ae
commit
e6de9cb920
|
|
@ -1,13 +1,13 @@
|
||||||
name: Azure Static Web App v1.2
|
name: Azure Static Web App v1.3
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v1.2
|
- v1.3
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, closed]
|
types: [opened, synchronize, reopened, closed]
|
||||||
branches:
|
branches:
|
||||||
- v1.2
|
- v1.3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy_job:
|
build_and_deploy_job:
|
||||||
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
HUGO_ENV: production
|
HUGO_ENV: production
|
||||||
HUGO_VERSION: "0.74.3"
|
HUGO_VERSION: "0.74.3"
|
||||||
with:
|
with:
|
||||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_ISLAND_07C05FD1E }}
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_3 }}
|
||||||
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"
|
||||||
|
|
@ -48,6 +48,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_API_TOKEN_WONDERFUL_ISLAND_07C05FD1E }}
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_3 }}
|
||||||
skip_deploy_on_missing_secrets: true
|
skip_deploy_on_missing_secrets: true
|
||||||
action: "close"
|
action: "close"
|
||||||
Loading…
Reference in New Issue