all repos — birabittoh.github.io @ b82a7cbc5c4a916fd25c8988f2ab83f3a807af4d

My current website, built with Zola.

.github/workflows/gh.pages.yml (view raw)

 1name: GitHub Pages
 2
 3on:
 4  push:
 5    branches:
 6      - master
 7
 8jobs:
 9  build:
10    runs-on: ubuntu-latest
11    if: github.ref != 'refs/heads/master'
12    steps:
13      - name: checkout  
14        uses: actions/checkout@v3
15        with:
16          submodules: true  # Fetch Hugo themes (true OR recursive)
17          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
18
19      - name: build_and_deploy
20        uses: shalzz/zola-deploy-action@v0.17.2
21        env:
22          PAGES_BRANCH: gh-pages
23          TOKEN: ${{ secrets.GITHUB_TOKEN }}