mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-02-22 21:24:34 +01:00
Add GitHub actions pages publish
This commit is contained in:
parent
c442ebca44
commit
33eeb32825
18
.github/workflows/publish-pages.yml
vendored
Normal file
18
.github/workflows/publish-pages.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue