Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83723c8

Browse files
github actions workflow to publish site
1 parent 1d32489 commit 83723c8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish Site
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@master
15+
with:
16+
submodules: true
17+
- name: Publish Site
18+
uses: chabad360/hugo-gh-pages@master
19+
with:
20+
githubToken: ${{ secrets.PERSONAL_TOKEN }}
21+
cname: osusec.org

0 commit comments

Comments
 (0)