1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-22 03:04:51 +08:00

[O] Deploy to Cloudflare Pages

This commit is contained in:
Mak1ooowowo 2023-01-15 15:33:36 +08:00
parent c726ccfb48
commit a0b64ccf5f

View File

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