Skip to content

Bump @11ty/eleventy from 3.0.0-alpha.4 to 3.0.0-alpha.5 (#329) #19

Bump @11ty/eleventy from 3.0.0-alpha.4 to 3.0.0-alpha.5 (#329)

Bump @11ty/eleventy from 3.0.0-alpha.4 to 3.0.0-alpha.5 (#329) #19

name: Deploy to Cloudflare Pages
on:
push:
branches: [main]
paths-ignore:
- "google/**"
workflow_dispatch:
jobs:
ci:
name: CI
uses: "./.github/workflows/ci.yml"
deploy:
name: Deploy
permissions:
contents: read
deployments: write
needs: ci
runs-on: ubuntu-latest
environment:
name: spaceholder-cc (Production)
url: https://spaceholder.cc
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 }}
directory: _site
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: spaceholder-cc