Skip to content

Migrate to Eleventy 3 beta #26

Migrate to Eleventy 3 beta

Migrate to Eleventy 3 beta #26

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
ci:
name: CI
uses: ./.github/workflows/ci.yml
deploy:
name: Deploy to Cloudflare Pages
permissions:
contents: read
deployments: write
needs: ci
runs-on: ubuntu-latest
environment:
name: refresh-dc-org (Production)
url: https://refresh-dc.org
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: npm
- run: npm ci
- run: npm run build
- uses: cloudflare/pages-action@v1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy _site --project-name=refresh-dc-org