diff --git a/.github/workflows/pages-deployment.yaml b/.github/workflows/pages-deployment.yaml index 43ce51a0..7a0ab122 100644 --- a/.github/workflows/pages-deployment.yaml +++ b/.github/workflows/pages-deployment.yaml @@ -1,16 +1,23 @@ on: [push] jobs: deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: read deployments: write name: Deploy to Cloudflare Pages steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history for git info # Run your project's build step - - name: Build + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Install Dependencies + run: npm ci + - name: Build Quartz run: npx quartz build - name: Publish uses: cloudflare/pages-action@v1