1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-10 13:24:50 +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 - 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