Skip to content

Commit 7342d00

Browse files
committed
add build action
1 parent f1d2e31 commit 7342d00

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build
2+
3+
on:
4+
# Run on push to main
5+
push:
6+
branches:
7+
- main
8+
9+
schedule:
10+
- cron: "0 0 * * *"
11+
12+
# Run manually from the Actions tab
13+
workflow_dispatch:
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@master
21+
with:
22+
submodules: true
23+
- name: build
24+
uses: jakejarvis/hugo-build-action@master
25+
- name: deploy
26+
uses: JamesIves/[email protected]
27+
with:
28+
branch: gh-pages
29+
folder: public

0 commit comments

Comments
 (0)