Skip to content

Hugo and theme update #56

Hugo and theme update

Hugo and theme update #56

Workflow file for this run

name: CI
on: push
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
ref: 'source'
submodules: 'recursive'
- name: Update theme
# (Optional)If you have the theme added as submodule, you can pull it and use the most updated version
run: git submodule update --init --recursive
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.101.0"
extended: true
- name: Build
# remove --minify tag if you do not need it
# docs: https://gohugo.io/hugo-pipes/minification/
run: hugo --environment=live --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.TOKEN }}
external_repository: truemped/truemped.github.io
publish_dir: ./public
# keep_files: true
user_name: truemped
user_email: [email protected]
publish_branch: master
# cname: example.com