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:
parent
c726ccfb48
commit
a0b64ccf5f
10
.github/workflows/generator.yml
vendored
10
.github/workflows/generator.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user