-
Notifications
You must be signed in to change notification settings - Fork 8
52 lines (51 loc) · 1.19 KB
/
dev.yaml
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
name: Dev testing
on:
push:
branches:
- dev
env:
GH_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
jobs:
build-macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build
run: |
. ./scripts/ci_common.sh
npx electron-builder --mac
build-windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build
shell: bash -l {0}
run: |
npm config set script-shell bash
. ./scripts/ci_common.sh
npx electron-builder --win
build-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build
run: |
echo "dev.plannable.org" > public/CNAME
. ./scripts/ci_common.sh
npx electron-builder --linux
- name: dev deploy 🚀
uses: JamesIves/[email protected]
with:
token: ${{ secrets.DEPLOY_TOKEN }}
branch: master
folder: dist
repository-name: awesome-schedule/dev