-
Notifications
You must be signed in to change notification settings - Fork 8
60 lines (46 loc) · 1.15 KB
/
deploy.yml
File metadata and controls
60 lines (46 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Deployment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install packages
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Update 404 HTML
run: cp build/index.html build/404.html
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: ppsspp-debugger.unknownbrackets.org
bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install packages
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
env:
PUBLIC_URL: '.'
- name: Deploy to bundled
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: bundled