Skip to content

Commit c235321

Browse files
committed
Add experimental GitHub pages workflow via GitHub Actions
1 parent 3d38e42 commit c235321

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build/Deploy Website
2+
on:
3+
push:
4+
branches:
5+
- website-dev
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
12+
# Install Python + modules to run our helper script
13+
- name: Set up Python 3.8
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.8
17+
18+
- name: Run Build Step
19+
run: ./build_website.sh
20+
21+
- name: Deploy 🚀
22+
uses: JamesIves/github-pages-deploy-action@3.6.1
23+
with:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
BRANCH: gh-pages # The branch the action should deploy to.
26+
FOLDER: html # The folder the action should deploy.

0 commit comments

Comments
 (0)