Skip to content

LMD-0001: Upgrade the github page deployment (#37) #75

LMD-0001: Upgrade the github page deployment (#37)

LMD-0001: Upgrade the github page deployment (#37) #75

Workflow file for this run

name: Web Site Publication
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
submodules: recursive
- name: Hugo Setup
uses: peaceiris/actions-hugo@v3.0.0
with:
hugo-version: '0.125.7'
extended: true
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Asciidoctor Setup
run: gem install asciidoctor
- name: Hugo Build
run: |
alias asciidoctor="asciidoctor --attribute=experimental=true --attribute=icons=font"
hugo --gc --minify --cleanDestinationDir
- name: Deploy Github Pages
uses: peaceiris/actions-gh-pages@v4.0.0
with:
publish_branch: gh-pages
github_token: ${{ secrets.LMD_TOKEN }}
publish_dir: ./public