Skip to content

Commit

Permalink
Merge pull request #4475 from hhunter-ms/v1.16
Browse files Browse the repository at this point in the history
[Endgame] Update config.toml for 1.16
  • Loading branch information
hhunter-ms authored Dec 19, 2024
2 parents d43d032 + 8f124f0 commit 942c881
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/link_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
validate:
runs-on: ubuntu-latest
env:
PYTHON_VER: 3.7
PYTHON_VER: 3.12
steps:
- uses: actions/checkout@v2
- name: Check Microsoft URLs do not pin localized versions
Expand All @@ -27,7 +27,7 @@ jobs:
exit 1
fi
- name: Set up Python ${{ env.PYTHON_VER }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VER }}
- name: Install dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Azure Static Web App v1.15
name: Azure Static Web App v1.16

on:
workflow_dispatch:
push:
branches:
- v1.15
- v1.16
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- v1.15
- v1.16

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_15 }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_16 }}
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_15 }}
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_16 }}
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-15.docs.dapr.io"
baseURL = "https://v1-16.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.15"
github_branch = "v1.16"

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

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

0 comments on commit 942c881

Please sign in to comment.