File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 76
76
allow_forks : true
77
77
workflow_conclusion : completed
78
78
79
+ - uses : cloudflare/wrangler-action@v3
80
+ id : deploy
81
+ with :
82
+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
83
+ environment : previews
84
+ workingDirectory : docs-site
85
+ command : >
86
+ deploy
87
+ --var GIT_COMMIT_SHA:${{ github.event.workflow_run.head_sha }}
88
+ --var GIT_BRANCH:${{ github.event.workflow_run.head_branch }}
89
+
79
90
- name : Set preview URL
80
91
run : uv run --with httpx .github/set_docs_preview_url.py
81
92
env :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ workers_dev = false
9
9
directory = " ../site"
10
10
binding = " ASSETS"
11
11
# so we can rewrite the HTML to insert the version notice
12
- experimental_serve_directly = false
12
+ run_worker_first = true
13
13
14
14
[[kv_namespaces ]]
15
15
binding = " VERSION_NOTICE_CACHE"
You can’t perform that action at this time.
0 commit comments