Skip to content

feat(blog): add Reinventing the Punch Tape #17

feat(blog): add Reinventing the Punch Tape

feat(blog): add Reinventing the Punch Tape #17

Workflow file for this run

name: Publish
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: write
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Init submodules
run: |
git submodule sync --recursive
git submodule update --init --recursive --depth 1
- name: Install Zola
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Build site
run: zola build
- name: Deploy to GitHub Pages (gh-pages branch)
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public