Skip to content

Commit

Permalink
Merge pull request #3769 from hhunter-ms/fix_navbar_1.13
Browse files Browse the repository at this point in the history
[Endgame] Fix navbar for 1.13
  • Loading branch information
hhunter-ms authored Oct 12, 2023
2 parents ad50b79 + 3055c7c commit a2e6d2e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Azure Static Web App v1.12
name: Azure Static Web App v1.13

on:
push:
branches:
- v1.12
- v1.13
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- v1.12
- v1.13

jobs:
build_and_deploy_job:
Expand All @@ -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_12 }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_13 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
skip_deploy_on_missing_secrets: true
action: "upload"
Expand All @@ -49,6 +49,6 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_12 }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_13 }}
skip_deploy_on_missing_secrets: true
action: "close"
17 changes: 10 additions & 7 deletions daprdocs/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Site Configuration
baseURL = "https://v1-12.docs.dapr.io"
baseURL = "https://v1-13.docs.dapr.io"
title = "Dapr Docs"
theme = "docsy"
disableFastRender = true
Expand Down Expand Up @@ -168,20 +168,23 @@ offlineSearch = false
github_repo = "https://github.com/dapr/docs"
github_project_repo = "https://github.com/dapr/dapr"
github_subdir = "daprdocs"
github_branch = "v1.11"
github_branch = "v1.13"

# Versioning
version_menu = "v1.11 (latest)"
version = "v1.11"
version_menu = "v1.13 (preview)"
version = "v1.13"
archived_version = false
url_latest_version = "https://docs.dapr.io"

[[params.versions]]
version = "v1.12 (preview)"
version = "v1.13 (preview)"
url = "https://v1-13.docs.dapr.io"
[[params.versions]]
version = "v1.12 (latest)"
url = "#"
[[params.versions]]
version = "v1.11 (latest)"
url = "https://docs.dapr.io"
version = "v1.11"
url = "https://v1-11.docs.dapr.io"
[[params.versions]]
version = "v1.10"
url = "https://v1-10.docs.dapr.io"
Expand Down

0 comments on commit a2e6d2e

Please sign in to comment.