all repos — birabittoh.github.io @ 68e5f7e7277b5c386eb7c1c9a9aeda8bd10261f8

My current website, built with Zola.

.github/workflows/deploy.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 theme via git submodule
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 }}