From ef588b8509441f1bc882c0d6e6438a3da9f77daf Mon Sep 17 00:00:00 2001 From: Will Tsai Date: Fri, 5 Nov 2021 14:23:41 -0700 Subject: [PATCH] create new v1.6 branch and config for v1.6 website --- .../{website-v1-5.yml => website-v1-6.yml} | 10 +++++----- daprdocs/config.toml | 15 +++++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) rename .github/workflows/{website-v1-5.yml => website-v1-6.yml} (95%) diff --git a/.github/workflows/website-v1-5.yml b/.github/workflows/website-v1-6.yml similarity index 95% rename from .github/workflows/website-v1-5.yml rename to .github/workflows/website-v1-6.yml index 0e030ecd5..335fdb3d5 100644 --- a/.github/workflows/website-v1-5.yml +++ b/.github/workflows/website-v1-6.yml @@ -1,13 +1,13 @@ -name: Azure Static Web App v1.4 +name: Azure Static Web App v1.6 on: push: branches: - - v1.5 + - v1.6 pull_request: types: [opened, synchronize, reopened, closed] branches: - - v1.5 + - v1.6 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_5 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_6 }} 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_5 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_6 }} skip_deploy_on_missing_secrets: true action: "close" diff --git a/daprdocs/config.toml b/daprdocs/config.toml index 976699036..3442e37f1 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -1,5 +1,5 @@ # Site Configuration -baseURL = "https://v1-5.docs.dapr.io/" +baseURL = "https://v1-6.docs.dapr.io/" title = "Dapr Docs" theme = "docsy" disableFastRender = true @@ -157,20 +157,23 @@ offlineSearch = false github_repo = "https://github.com/dapr/docs" github_project_repo = "https://github.com/dapr/dapr" github_subdir = "daprdocs" -github_branch = "v1.5" +github_branch = "v1.6" # Versioning -version_menu = "v1.5 (preview)" -version = "v1.5" +version_menu = "v1.6 (preview)" +version = "v1.6" archived_version = false url_latest_version = "https://docs.dapr.io" [[params.versions]] - version = "v1.5 (preview)" + version = "v1.6 (preview)" url = "#" [[params.versions]] - version = "v1.4 (latest)" + version = "v1.5 (latest)" url = "https://docs.dapr.io" +[[params.versions]] + version = "v1.4" + url = "https://v1-4.docs.dapr.io" [[params.versions]] version = "v1.3" url = "https://v1-3.docs.dapr.io"