forked from ethereum-lists/chains
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 938 Bytes
/
deploy.yml
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
name: Build
on:
push:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: recursive
- name: Build
run: |
./gradlew run
- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Run yarn install
uses: borales/actions-yarn@v4
with:
dir: 'website'
cmd: install # will run `yarn install` command
- name: Run yarn build
uses: borales/actions-yarn@v4
with:
dir: 'website'
cmd: run build # will run `yarn test` command
- name: Merge
run: |
cp -a output/. website/public/
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: website/public