File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ permissions:
99 actions : read
1010 deployments : write
1111 contents : write
12- pages : write
1312 id-token : write
1413
1514jobs :
@@ -37,18 +36,17 @@ jobs:
3736 runs-on : ubuntu-latest
3837 needs : build
3938 steps :
40- - name : Deploy to GitHub Pages
41- id : deployment
42- uses : actions/deploy-pages@v4
43-
39+ # Note, since we provide the job with a CloudFlare scoped API token, we run it in a separate job that doesn't
40+ # execute any repository code.
4441 - uses : actions/download-artifact@v4
4542 with :
4643 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.
44+ - name : Extract Pages Artifact
45+ run : mkdir docs && tar -xvf artifact.tar -C docs
46+ shell : bash
5047 - name : Upload artifacts to CloudFlare Pages
5148 uses : cloudflare/wrangler-action@v3
5249 with :
5350 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
54- command : pages deploy docs --project-name=vortex-docs
51+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
52+ command : pages deploy docs/ --project-name=vortex-docs --branch=${{ github.ref }}
You can’t perform that action at this time.
0 commit comments