mirror of https://github.com/dapr/docs.git
commit
47a4798b29
|
@ -1,13 +1,13 @@
|
|||
name: Azure Static Web App v1.7
|
||||
name: Azure Static Web App v1.8
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v1.7
|
||||
- v1.8
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, closed]
|
||||
branches:
|
||||
- v1.7
|
||||
- v1.8
|
||||
|
||||
jobs:
|
||||
build_and_deploy_job:
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
HUGO_ENV: production
|
||||
HUGO_VERSION: "0.74.3"
|
||||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_7 }}
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_8 }}
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
||||
skip_deploy_on_missing_secrets: true
|
||||
action: "upload"
|
||||
|
@ -48,6 +48,6 @@ jobs:
|
|||
id: closepullrequest
|
||||
uses: Azure/static-web-apps-deploy@v0.0.1-preview
|
||||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_7 }}
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_8 }}
|
||||
skip_deploy_on_missing_secrets: true
|
||||
action: "close"
|
|
@ -163,17 +163,17 @@ github_subdir = "daprdocs"
|
|||
github_branch = "v1.7"
|
||||
|
||||
# Versioning
|
||||
version_menu = "v1.7 (latest)"
|
||||
version = "v1.7"
|
||||
version_menu = "v1.8 (preview)"
|
||||
version = "v1.8"
|
||||
archived_version = false
|
||||
url_latest_version = "https://docs.dapr.io"
|
||||
|
||||
[[params.versions]]
|
||||
version = "v1.8 (preview)"
|
||||
url = "https://v1-8.docs.dapr.io"
|
||||
url = "#"
|
||||
[[params.versions]]
|
||||
version = "v1.7 (latest)"
|
||||
url = "#"
|
||||
url = "https://v1-7.docs.dapr.io"
|
||||
[[params.versions]]
|
||||
version = "v1.6"
|
||||
url = "https://v1-6.docs.dapr.io"
|
||||
|
|
Loading…
Reference in New Issue