Skip to content

Commit 32553a8

Browse files
authored
Create workflow to build and deploy on push
1 parent 2b51cc0 commit 32553a8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build and deploy on push
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: shalzz/zola-deploy-action
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- name: shalzz/zola-deploy-action
12+
uses: shalzz/zola-deploy-action@master
13+
env:
14+
PAGES_BRANCH: gh-pages
15+
BUILD_DIR: .
16+
BUILD_FLAGS: --drafts
17+
TOKEN: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)