Skip to content

Bump actions/checkout from 4.1.1 to 4.1.2 #1525

Bump actions/checkout from 4.1.1 to 4.1.2

Bump actions/checkout from 4.1.1 to 4.1.2 #1525

Workflow file for this run

---
name: docs
on:
pull_request:
types:
- opened
- synchronize
- reopened
paths:
- ".github/**"
- "docs/**"
push:
branches:
- main
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: build
uses: shalzz/zola-deploy-action@186b5039430ab38781dde8feaf0861bcc017413f # v0.16.1-1
env:
BUILD_DIR: docs
BUILD_ONLY: true
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public