Skip to content

Commit

Permalink
Merge pull request #4260 from hhunter-ms/endgame_v1.15
Browse files Browse the repository at this point in the history
[Endgame] Update config.toml for 1.15
  • Loading branch information
hhunter-ms authored Aug 14, 2024
2 parents 62d706b + e13c59e commit 3e98207
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
workflow_dispatch:
push:
branches:
- v1.14
- v1.15
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- v1.14
- v1.15

jobs:
build_and_deploy_job:
Expand All @@ -29,7 +29,7 @@ jobs:
HUGO_ENV: production
HUGO_VERSION: "0.100.2"
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_14 }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_15 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
skip_deploy_on_missing_secrets: true
action: "upload"
Expand All @@ -50,6 +50,6 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_14 }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_15 }}
skip_deploy_on_missing_secrets: true
action: "close"
15 changes: 9 additions & 6 deletions daprdocs/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Site Configuration
baseURL = "https://v1-14.docs.dapr.io"
baseURL = "https://v1-15.docs.dapr.io"
title = "Dapr Docs"
theme = "docsy"
disableFastRender = true
Expand Down Expand Up @@ -196,20 +196,23 @@ offlineSearch = false
github_repo = "https://github.com/dapr/docs"
github_project_repo = "https://github.com/dapr/dapr"
github_subdir = "daprdocs"
github_branch = "v1.14"
github_branch = "v1.15"

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

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

0 comments on commit 3e98207

Please sign in to comment.