leDailySquirrel/.forgejo/workflows/deploy.yml
Dirty REdOG 735fa36446
Some checks failed
Deploy to Cloudflare Pages / publish (push) Failing after 38s
ci: bypass makefile and call compiler directly
2026-07-04 18:01:49 -05:00

29 lines
646 B
YAML

name: Deploy to Cloudflare Pages
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install & Build
run: |
npm install
npx @11ty/eleventy
- name: Push to Cloudflare Edge
run: npx wrangler pages deploy dist/ --project-name=ledailysquirrel
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}