generated from RonanKMcGovern/eth-dapps-nextjs-boiletplate
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 808 Bytes
/
skynet.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
38
39
# REF: https://docs.siasky.net/developer-guides/deploy-github-actions
name: Deploy to Skynet
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Show NodeJS version
run: npm --version
- name: Build and Export
run: |
cd client
yarn
yarn build
yarn export
- name: Deploy to Skynet
uses: SkynetLabs/deploy-to-skynet-action@v2
with:
upload-dir: client/out
github-token: ${{ secrets.GITHUB_TOKEN }}
registry-seed: ${{ secrets.SKYNET_REGISTRY_SEED || '' }}