Add GitHub actions pages publish

This commit is contained in:
Paweł Romanowski 2022-05-11 08:53:20 +02:00
parent c442ebca44
commit 33eeb32825

18
.github/workflows/publish-pages.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Publish demo on GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Publish site
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3.0.0
- name: Build and deploy
uses: shalzz/zola-deploy-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}