Skip to content

Commit ec4682b

Browse files
authored
Merge pull request #425 from sake92/auto-publish-ghpages
Add ghpages github action
2 parents ee0bb77 + 0fa917a commit ec4682b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ghpages.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
name: Build and Deploy GhPages docs
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: olafurpg/setup-scala@v5
14+
15+
- name: Checkout
16+
uses: actions/[email protected]
17+
with:
18+
persist-credentials: false
19+
20+
- name: Build
21+
run: sbt readme/run
22+
23+
- name: Deploy
24+
uses: JamesIves/[email protected]
25+
with:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
BRANCH: gh-pages
28+
FOLDER: readme/target/scalatex

0 commit comments

Comments
 (0)