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