Create workflowsbuild-and-publish

This commit is contained in:
House of Vanity
2023-08-25 13:34:10 +03:00
committed by GitHub
parent bf2d32cf2c
commit f94562a66b

18
.github/workflowsbuild-and-publish vendored Normal file
View File

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