config toml

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2024-12-19 11:04:41 -05:00
parent d43d032d01
commit f1bf03bb7d
2 changed files with 14 additions and 11 deletions

View File

@ -1,14 +1,14 @@
name: Azure Static Web App v1.15 name: Azure Static Web App v1.16
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: branches:
- v1.15 - v1.16
pull_request: pull_request:
types: [opened, synchronize, reopened, closed] types: [opened, synchronize, reopened, closed]
branches: branches:
- v1.15 - v1.16
jobs: jobs:
build_and_deploy_job: build_and_deploy_job:
@ -29,7 +29,7 @@ jobs:
HUGO_ENV: production HUGO_ENV: production
HUGO_VERSION: "0.100.2" HUGO_VERSION: "0.100.2"
with: 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) repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
skip_deploy_on_missing_secrets: true skip_deploy_on_missing_secrets: true
action: "upload" action: "upload"
@ -50,6 +50,6 @@ jobs:
id: closepullrequest id: closepullrequest
uses: Azure/static-web-apps-deploy@v1 uses: Azure/static-web-apps-deploy@v1
with: 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 skip_deploy_on_missing_secrets: true
action: "close" action: "close"

View File

@ -1,5 +1,5 @@
# Site Configuration # Site Configuration
baseURL = "https://v1-15.docs.dapr.io" baseURL = "https://v1-16.docs.dapr.io"
title = "Dapr Docs" title = "Dapr Docs"
theme = "docsy" theme = "docsy"
disableFastRender = true disableFastRender = true
@ -196,20 +196,23 @@ offlineSearch = false
github_repo = "https://github.com/dapr/docs" github_repo = "https://github.com/dapr/docs"
github_project_repo = "https://github.com/dapr/dapr" github_project_repo = "https://github.com/dapr/dapr"
github_subdir = "daprdocs" github_subdir = "daprdocs"
github_branch = "v1.15" github_branch = "v1.16"
# Versioning # Versioning
version_menu = "v1.15 (preview)" version_menu = "v1.16 (preview)"
version = "v1.15" version = "v1.16"
archived_version = false archived_version = false
url_latest_version = "https://docs.dapr.io" url_latest_version = "https://docs.dapr.io"
[[params.versions]] [[params.versions]]
version = "v1.15 (preview)" version = "v1.16 (preview)"
url = "#" url = "#"
[[params.versions]] [[params.versions]]
version = "v1.14 (latest)" version = "v1.15 (latest)"
url = "https://docs.dapr.io" url = "https://docs.dapr.io"
[[params.versions]]
version = "v1.14"
url = "https://v1-14.docs.dapr.io"
[[params.versions]] [[params.versions]]
version = "v1.13" version = "v1.13"
url = "https://v1-13.docs.dapr.io" url = "https://v1-13.docs.dapr.io"