From c030f0e0921de6ad5181331fee8df431bdee73bb Mon Sep 17 00:00:00 2001 From: Nick Greenfield Date: Thu, 7 Jul 2022 15:51:55 -0700 Subject: [PATCH] Update workflow and config.toml for v1.9 --- .../workflows/{website-v1-8.yml => website-v1-9.yml} | 10 +++++----- daprdocs/config.toml | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) rename .github/workflows/{website-v1-8.yml => website-v1-9.yml} (95%) diff --git a/.github/workflows/website-v1-8.yml b/.github/workflows/website-v1-9.yml similarity index 95% rename from .github/workflows/website-v1-8.yml rename to .github/workflows/website-v1-9.yml index c374f6424..1942b96a3 100644 --- a/.github/workflows/website-v1-8.yml +++ b/.github/workflows/website-v1-9.yml @@ -1,13 +1,13 @@ -name: Azure Static Web App v1.8 +name: Azure Static Web App v1.9 on: push: branches: - - v1.8 + - v1.9 pull_request: types: [opened, synchronize, reopened, closed] branches: - - v1.8 + - v1.9 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_8 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_9 }} 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@v0.0.1-preview with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_8 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_9 }} skip_deploy_on_missing_secrets: true action: "close" diff --git a/daprdocs/config.toml b/daprdocs/config.toml index 16cabec64..b8570d8c4 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -1,5 +1,5 @@ # Site Configuration -baseURL = "https://docs.dapr.io/" +baseURL = "https://v1-9.docs.dapr.io/" title = "Dapr Docs" theme = "docsy" disableFastRender = true @@ -160,20 +160,20 @@ offlineSearch = false github_repo = "https://github.com/dapr/docs" github_project_repo = "https://github.com/dapr/dapr" github_subdir = "daprdocs" -github_branch = "v1.7" +github_branch = "v1.9" # Versioning -version_menu = "v1.8 (latest)" -version = "v1.8" +version_menu = "v1.9 (preview)" +version = "v1.9" archived_version = false url_latest_version = "https://docs.dapr.io" [[params.versions]] version = "v1.9 (preview)" - url = "https://v1-9.docs.dapr.io" + url = "#" [[params.versions]] version = "v1.8 (latest)" - url = "#" + url = "https://docs.dapr.io" [[params.versions]] version = "v1.7" url = "https://v1-7.docs.dapr.io"