We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb7855 commit 4f01b68Copy full SHA for 4f01b68
.github/workflows/page-site.yml
@@ -0,0 +1,28 @@
1
+name: generate page site
2
+on:
3
+ release:
4
+ types: [created]
5
+
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ deployments: write
12
+ name: Publish to Cloudflare Pages
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+ - run: npm ci
17
+ - run: npm run docs:build
18
+ - name: Publish to Cloudflare Pages
19
+ uses: cloudflare/pages-action@v1
20
+ with:
21
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
22
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
23
+ projectName: dockit-site
24
+ directory: dist
25
+ # Optional: Enable this if you want to have GitHub Deployments triggered
26
+ gitHubToken: ${{ secrets.GITHUB_TOKEN }}
27
+ branch: master
28
0 commit comments