Skip to content

Bump actions/checkout from 3.1.0 to 4.1.2 (#225) #46

Bump actions/checkout from 3.1.0 to 4.1.2 (#225)

Bump actions/checkout from 3.1.0 to 4.1.2 (#225) #46

Workflow file for this run

name: GH Page Deploy
on:
push:
branches:
- main
defaults:
run:
working-directory: ./site
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Use Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: 'npm'
cache-dependency-path: './site/package-lock.json'
- run: npm ci
- run: npm run build
- name: Deploy
uses: crazy-max/ghaction-github-pages@c05ee637ec73429400a359430db8e5629f3f2564 # v4.0.0
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}