Skip to content

build(deps): bump lycheeverse/lychee-action from 2.7.0 to 2.8.0 #381

build(deps): bump lycheeverse/lychee-action from 2.7.0 to 2.8.0

build(deps): bump lycheeverse/lychee-action from 2.7.0 to 2.8.0 #381

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
pull_request:
permissions:
contents: write
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@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
with:
args: ./build
fail: true
- uses: burnett01/rsync-deployments@0c902521b8b9135f0dae7841a01d7d3b19629cb2 # v8.0.2
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 }}