Skip to content

Commit c53670a

Browse files
authored
Create main.yml
1 parent 403203c commit c53670a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy to Pages
2+
on:
3+
push:
4+
branches: [ main ] # nebo master, podle toho co používáš
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout
11+
with:
12+
submodules: recursive # Důležité pro načtení Duckquill
13+
- name: Build Zola
14+
uses: shalzz/zola-deploy-action@v0.18.0
15+
env:
16+
PAGES_BRANCH: gh-pages
17+
BUILD_DIR: public
18+
TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)