Skip to content

Merge pull request #29 from shizeon/add_2024_activities #133

Merge pull request #29 from shizeon/add_2024_activities

Merge pull request #29 from shizeon/add_2024_activities #133

Workflow file for this run

name: Hugo gh-pages deployment
on:
push:
branches:
- main # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.123.8'
# extended: true
- name: Build
run: bin/deploy.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./home/public
force_orphan: true
commit_message: ${{ github.event.head_commit.message }}