Skip to content

Commit 7e95c71

Browse files
committed
chore: set up in-repo publishing
1 parent f797ca0 commit 7e95c71

File tree

3 files changed

+31
-71
lines changed

3 files changed

+31
-71
lines changed

.circleci/config.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/deploy-gh-pages.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish GH Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 16
19+
cache: yarn
20+
- name: Install dependencies
21+
run: yarn install --immutable
22+
- name: Build website
23+
run: yarn build
24+
- name: Deploy
25+
if: github.event_name == "push"
26+
uses: peaceiris/actions-gh-pages@v3
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
publish_dir: ./build
30+
user_name: computerization-bot
31+
user_email: [email protected]
File renamed without changes.

0 commit comments

Comments
 (0)