Skip to content

ci: update to latest actions-gh-pages@v4 #90

ci: update to latest actions-gh-pages@v4

ci: update to latest actions-gh-pages@v4 #90

Workflow file for this run

on:
push:
branches:
- src
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.141.0'
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install asciidoctor
run: gem install asciidoctor
- name: Build Site
run: hugo
- name: Deploy to master
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: master