Skip to content

Commit 936cd8a

Browse files
committed
add deploy script
1 parent 6f759ca commit 936cd8a

File tree

2 files changed

+5671
-4016
lines changed

2 files changed

+5671
-4016
lines changed

.github/workflows/deploy.yml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
1-
### Deactivated deployment for now
1+
name: GitHub Pages Publish
22

3-
# name: GitHub Pages Publish
3+
on:
4+
push:
5+
branches: [main]
46

5-
# on:
6-
# push:
7-
# branches: [main]
8-
9-
# jobs:
10-
# gh-deploy:
11-
# runs-on: ubuntu-latest
12-
# steps:
13-
# - uses: actions/checkout@v4
14-
# - uses: actions/setup-node@v4
15-
# with:
16-
# node-version: 18
17-
# registry-url: https://registry.npmjs.org
18-
# - run: yarn install
19-
# - name: Build
20-
# working-directory: "."
21-
# run: yarn run prepare-deployment
22-
# - name: Deploy
23-
# uses: JamesIves/github-pages-deploy-action@v4
24-
# with:
25-
# folder: build
7+
jobs:
8+
gh-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 18
15+
registry-url: https://registry.npmjs.org
16+
- run: yarn install
17+
- name: Build
18+
working-directory: "."
19+
run: yarn run prepare-deployment
20+
- name: Deploy
21+
uses: JamesIves/github-pages-deploy-action@v4
22+
with:
23+
folder: build

0 commit comments

Comments
 (0)