all repos — birabittoh.github.io @ 5f99634e7c9a505965b026248e7cfd084fe75960

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.19.2
21        env:
22          PAGES_BRANCH: gh-pages
23          TOKEN: ${{ secrets.GITHUB_TOKEN }}