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 7676 allow_forks : true
7777 workflow_conclusion : completed
7878
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+
7990 - name : Set preview URL
8091 run : uv run --with httpx .github/set_docs_preview_url.py
8192 env :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ workers_dev = false
99directory = " ../site"
1010binding = " ASSETS"
1111# so we can rewrite the HTML to insert the version notice
12- experimental_serve_directly = false
12+ run_worker_first = true
1313
1414[[kv_namespaces ]]
1515binding = " VERSION_NOTICE_CACHE"
You can’t perform that action at this time.
0 commit comments