[O] Deploy to Cloudflare Pages

pull/65/head
Mak1ooowowo 2023-01-15 15:33:36 +08:00
parent c726ccfb48
commit a0b64ccf5f
1 changed files with 6 additions and 4 deletions

View File

@ -42,11 +42,13 @@ jobs:
- name: Build - name: Build
run: yarn build run: yarn build
- name: Deploy to github pages - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4 uses: cloudflare/pages-action@v1
with: with:
branch: gh-pages apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
folder: dist accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: our-data
directory: dist
- name: Check for document changes, ignoring comments - name: Check for document changes, ignoring comments
uses: dorny/paths-filter@v2 uses: dorny/paths-filter@v2