-
Notifications
You must be signed in to change notification settings - Fork 6
54 lines (45 loc) · 1.72 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
51
52
53
54
name: Build-and-deploy-linux
run-name: ${{ github.actor }} is building a linux release for FAIRshare
on:
push:
branches:
- main
jobs:
deploy-on-linux:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: linux-fairshare-release
environment-file: dev/linux-fairshare-release.yml
auto-activate-base: false
- uses: actions/setup-node@v4
with:
node-version: "16.14.2"
- name: Install package.json modules and their dependencies
run: yarn install --frozen-lockfile
- name: Build and deploy on Linux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VUE_APP_GITHUB_SERVER_URL: https://api.github.com
VUE_APP_ZENODO_SERVER_URL: https://zenodo.org/api
VUE_APP_FIGSHARE_SERVER_URL: https://api.figshare.com/v2
VUE_APP_BIO_TOOLS_SERVER_URL: https://bio.tools/api
VUE_APP_ZENODO_URL: https://zenodo.org
VUE_APP_BIO_TOOLS_URL: https://bio.tools
VUE_APP_FIGSHARE_URL: https://figshare.com
VUE_APP_ENCRYPTION_KEY: ${{ secrets.VUE_APP_ENCRYPTION_KEY }}}
VUE_APP_GOOGLE_ANALYTICS_ID: ${{ secrets.VUE_APP_GOOGLE_ANALYTICS_ID }}
VUE_APP_FTP_SERVER_URL: ftp-private.ncbi.nlm.nih.gov
VUE_APP_FTP_SERVER_USER: ${{ secrets.VUE_APP_FTP_SERVER_USER }}
VUE_APP_FTP_SERVER_PASSWORD: ${{ secrets.VUE_APP_FTP_SERVER_PASSWORD }}
run: |
npm run python:build
npm run electron:build-release