File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Python & Rust docs
33on :
44 push :
55 branches : [ develop ]
6+ workflow_dispatch : { }
67
78permissions :
89 actions : read
2829 uses : actions/upload-pages-artifact@v3
2930 with :
3031 path : docs/_build/html
32+
3133 deploy :
3234 environment :
3335 name : github-pages
3840 - name : Deploy to GitHub Pages
3941 id : deployment
4042 uses : actions/deploy-pages@v4
43+
44+ - uses : actions/download-artifact@v4
45+ with :
46+ name : github-pages
47+ path : docs
48+
49+ # Note, since we use an API token we run it in a separate job that doesn't run any repository code.
50+ - name : Upload artifacts to CloudFlare Pages
51+ uses : cloudflare/wrangler-action@v3
52+ with :
53+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
54+ command : pages deploy docs --project-name=vortex-docs
You can’t perform that action at this time.
0 commit comments