Skip to content

chore(deps): bump jdx/mise-action from 2.4.4 to 4.0.1 #388

chore(deps): bump jdx/mise-action from 2.4.4 to 4.0.1

chore(deps): bump jdx/mise-action from 2.4.4 to 4.0.1 #388

Workflow file for this run

# https://www.getzola.org/documentation/deployment/github-pages/
name: Build and deploy Zola site to GitHub Pages
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pages: write
id-token: write
jobs:
github-pages:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: pnpm-cache
with:
path: node_modules
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install
if: steps.pnpm-cache.outputs.cache-hit != 'true'
- run: pnpm exec oxfmt --check .
- run: zola build
- run: node build.js
- name: Upload artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
with:
path: ./public
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5