Skip to content

Commit 39238f0

Browse files
authored
chore: Update cloudflare sync workflow to run on manual dispatch (#3007)
Update cloudflare sync workflow to run on manual dispatch, to fix v0.32.0 release on docsite
1 parent b9ae1c6 commit 39238f0

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

.github/workflows/cloudflare_sync.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
on:
25+
workflow_dispatch:
2526
workflow_run:
2627
workflows: ["CF: Deploy Dev Docs", "CF: Deploy Versioned Docs", "CF: Deploy Previous Version Docs"]
2728
types: [completed]
2829

2930
jobs:
3031
deploy:
3132
runs-on: ubuntu-latest
32-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
33+
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
3334
steps:
3435
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3536
with:
@@ -42,4 +43,4 @@ jobs:
4243
with:
4344
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4445
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
45-
command: pages deploy . --project-name=toolbox-docs --branch=main
46+
command: pages deploy . --project-name=toolbox-docs --branch=main

.hugo/hugo.cloudflare.toml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,6 @@ ignoreFiles = ["quickstart/shared", "quickstart/python", "quickstart/js", "quick
124124
version = "v0.21.0"
125125
url = "https://mcp-toolbox.dev/v0.21.0/"
126126

127-
[[params.versions]]
128-
version = "v0.20.0"
129-
url = "https://mcp-toolbox.dev/v0.20.0/"
130-
131-
[[params.versions]]
132-
version = "v0.19.1"
133-
url = "https://mcp-toolbox.dev/v0.19.1/"
134-
135-
[[params.versions]]
136-
version = "v0.18.0"
137-
url = "https://mcp-toolbox.dev/v0.18.0/"
138-
139-
[[params.versions]]
140-
version = "v0.17.0"
141-
url = "https://mcp-toolbox.dev/v0.17.0/"
142-
143127
[[menu.main]]
144128
name = "GitHub"
145129
weight = 50

0 commit comments

Comments
 (0)