Skip to content

Merge pull request #227 from friedemannsommer/dependabot/github_actio… #71

Merge pull request #227 from friedemannsommer/dependabot/github_actio…

Merge pull request #227 from friedemannsommer/dependabot/github_actio… #71

Workflow file for this run

name: public - CI
on:
push:
branches:
- main
paths:
- 'content/**'
- 'sass/**'
- 'static/**'
- 'templates/**'
- 'config.toml'
- '.github/workflows/publish.yml'
env:
ZOLA_VERSION: v0.18.0
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Download zola
run: curl -sL https://github.com/getzola/zola/releases/download/${{ env.ZOLA_VERSION }}/zola-${{ env.ZOLA_VERSION }}-x86_64-unknown-linux-gnu.tar.gz | sudo tar xvzf - -C /usr/local/bin
- name: Build site
run: zola build -o public
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
folder: public