-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1020 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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build projects
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
- name: Build
env:
TRAVIS_CI_OPERATOR: "1"
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.K8S_GITHUB_TOKEN }}
run: |
python version.py
(cd ui && npm install && npm run package)
./ci.sh install
./ci.sh script
./ci.sh deploy
./ci.sh bump