Secrets
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
name: Build Windows
|
name: Build Windows
|
||||||
|
|
||||||
|
#Запускаем только кнопкой "Run workflow" в Actions -> Build Windows
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -15,4 +16,13 @@ jobs:
|
|||||||
- name: Install npm dependencies
|
- name: Install npm dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Build the application
|
- name: Build the application
|
||||||
run: npm run kernel:win
|
run: npm run kernel:win
|
||||||
|
- name: Upload build on SSH
|
||||||
|
uses: appleboy/scp-action@master
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SSH_HOST }}
|
||||||
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
port: ${{ secrets.SSH_PORT }}
|
||||||
|
source: "/dist/builds/win/x64/Rosetta-*.exe"
|
||||||
|
target: ${{ secrets.SSH_TARGET_DIR }}
|
||||||
Reference in New Issue
Block a user