Skip to content

build(deps): bump actions/checkout from 5 to 6 #352

build(deps): bump actions/checkout from 5 to 6

build(deps): bump actions/checkout from 5 to 6 #352

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v6
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.152.2'
extended: true
- name: Build
run: hugo --minify -d build
- name: Push build results to separate branch # purely for debuggability
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: build
- name: Copy linkchecker skipfile
run: cp .github/workflows/linkcheck-skipfile.txt .lycheeignore
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0
with:
args: ./build
fail: true
- uses: burnett01/rsync-deployments@33214bd98ba4ac2be90f5976672b3f030fce9ce4 # v7.1.0
if: ${{ github.event_name == 'push' }}
with:
switches: -avzr --delete
path: ./build/
remote_path: / # rrsync configuration points this to the correct path
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_port: ${{ secrets.DEPLOY_PORT }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}