generated from smyalygames/quartz

Some checks failed
Docker build & push image / build (push) Has been cancelled
Build and Test / build-and-test (ubuntu-latest) (push) Has been skipped
Build and Test / publish-tag (push) Has been skipped
Build and Test / build-and-test (macos-latest) (push) Has been cancelled
Build and Test / build-and-test (windows-latest) (push) Has been cancelled
/ Deploy to Cloudflare Pages (push) Failing after 17s
22 lines
645 B
YAML
22 lines
645 B
YAML
on: [push]
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
deployments: write
|
|
name: Deploy to Cloudflare Pages
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
# Run your project's build step
|
|
- name: Build
|
|
run: npx quartz build
|
|
- name: Publish
|
|
uses: cloudflare/pages-action@v1
|
|
with:
|
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
projectName: ACIT4330 # e.g. 'my-project'
|
|
directory: public # e.g. 'dist'
|
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |