Skip to content

chore(deps): update astro to 4.15.7 #321

chore(deps): update astro to 4.15.7

chore(deps): update astro to 4.15.7 #321

Workflow file for this run

name: Cloudflare Pages
on:
pull_request:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
key: astro
path: ./.astro
- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install Packages
run: npm ci
- name: Build
run: npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca # v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
branch: ${{ github.ref == 'refs/heads/master' && 'main' || github.head_ref }}
projectName: documentation
directory: ./build
wranglerVersion: "3"