all repos — birabittoh.github.io @ daf64814451826bb7c8451a3fc9e0378c1b772ca

My current website, built with Zola.

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

 1name: GitHub Pages
 2
 3on:
 4  push:
 5    branches:
 6      - master  # Set a branch name to trigger deployment
 7  pull_request:
 8
 9jobs:
10  build:
11    runs-on: ubuntu-latest
12    permissions:
13      contents: write
14    concurrency:
15      group: ${{ github.workflow }}-${{ github.ref }}
16    steps:
17      - name: checkout
18        uses: actions/checkout@v3
19        with:
20          submodules: true  # Fetch Hugo themes (true OR recursive)
21          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
22
23      - name: build_and_deploy
24        uses: shalzz/zola-deploy-action@v0.17.2
25        env:
26          PAGES_BRANCH: gh-pages
27          TOKEN: ${{ secrets.GITHUB_TOKEN }}