-
Notifications
You must be signed in to change notification settings - Fork 107
30 lines (30 loc) · 1.06 KB
/
main.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
name: build-win-steam-beta
on:
push:
workflow_dispatch:
jobs:
run-script:
runs-on: [self-hosted]
steps:
- run: |
git checkout .
git pull
pnpm install
working-directory: /home/insraq/CivIdle
- run: |
npm install
working-directory: /home/insraq/CivIdle/electron
- run: |
npm install
npm run build
working-directory: /home/insraq/CivIdle/server
- run: npm run release
working-directory: /home/insraq/CivIdle
env:
STEAMWORKS_PATH: /home/insraq/steamworks/tools/ContentBuilder/
- run: ssh ubuntu@uk.fishpondstudio.com "cd /home/ubuntu/CivIdle/server/ && git checkout . && git pull && npm install && npm run build && sudo systemctl restart cividle"
- run: |
git add src/scripts/Version.json
git commit -m "[skip ci] New build" || echo "There's nothing to commit"
git push
working-directory: /home/insraq/CivIdle