File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88permissions :
9- contents : write
10- pages : write
11- id-token : write
9+ contents : read
1210
1311concurrency :
1412 group : pages
@@ -17,22 +15,18 @@ concurrency:
1715jobs :
1816 build-and-deploy :
1917 runs-on : ubuntu-latest
20- environment :
21- name : github-pages
22- url : ${{ steps.deploy.outputs.page_url }}
2318 steps :
2419 - uses : actions/checkout@v4
2520
2621 - uses : supermodeltools/arch-docs@main
2722 id : docs
2823 with :
2924 supermodel-api-key : ${{ secrets.SUPERMODEL_API_KEY }}
25+ base-url : /ui/
3026
31- - uses : actions/configure-pages@v5
32-
33- - uses : actions/upload-pages-artifact@v3
27+ - name : Deploy to Cloudflare Pages
28+ uses : cloudflare/wrangler-action@v3
3429 with :
35- path : ./arch-docs-output
36-
37- - uses : actions/deploy-pages@v4
38- id : deploy
30+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
31+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
32+ command : pages deploy ./arch-docs-output --project-name=gtd-ui --branch=main
You can’t perform that action at this time.
0 commit comments