-
Notifications
You must be signed in to change notification settings - Fork 9
50 lines (41 loc) · 1.14 KB
/
Build-and-deploy-linux.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
40
41
42
43
44
45
46
47
48
49
50
name: Build-and-deploy-linux
run-name: ${{ github.actor }} is building a linux release for SODA
on:
push:
branches:
- main
- staging
- pre-staging
- sds3
jobs:
deploy-on-linux:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.9
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: env-electron-python
environment-file: tools/anaconda-env/environment-Linux.yml
auto-update-conda: true
auto-activate-base: false
- run: |
conda activate env-electron-python
conda info
conda list
- uses: actions/setup-node@v4
with:
node-version: "lts/hydrogen"
- name: Install package.json modules and their dependencies
run: npm install --ignore-scripts
- name: Deploy the app to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run deploy-linux