Merge pull request #2347 from greenie-msft/v1.8

Update v1.8 website
This commit is contained in:
greenie-msft 2022-04-08 11:52:24 -07:00 committed by GitHub
commit 47a4798b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1,13 +1,13 @@
name: Azure Static Web App v1.7 name: Azure Static Web App v1.8
on: on:
push: push:
branches: branches:
- v1.7 - v1.8
pull_request: pull_request:
types: [opened, synchronize, reopened, closed] types: [opened, synchronize, reopened, closed]
branches: branches:
- v1.7 - v1.8
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_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) 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_V1_7 }} azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_8 }}
skip_deploy_on_missing_secrets: true skip_deploy_on_missing_secrets: true
action: "close" action: "close"

View File

@ -163,17 +163,17 @@ github_subdir = "daprdocs"
github_branch = "v1.7" github_branch = "v1.7"
# Versioning # Versioning
version_menu = "v1.7 (latest)" version_menu = "v1.8 (preview)"
version = "v1.7" version = "v1.8"
archived_version = false archived_version = false
url_latest_version = "https://docs.dapr.io" url_latest_version = "https://docs.dapr.io"
[[params.versions]] [[params.versions]]
version = "v1.8 (preview)" version = "v1.8 (preview)"
url = "https://v1-8.docs.dapr.io" url = "#"
[[params.versions]] [[params.versions]]
version = "v1.7 (latest)" version = "v1.7 (latest)"
url = "#" url = "https://v1-7.docs.dapr.io"
[[params.versions]] [[params.versions]]
version = "v1.6" version = "v1.6"
url = "https://v1-6.docs.dapr.io" url = "https://v1-6.docs.dapr.io"