Secrets
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
name: Build Windows
|
||||
|
||||
#Запускаем только кнопкой "Run workflow" в Actions -> Build Windows
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -16,3 +17,12 @@ jobs:
|
||||
run: npm install
|
||||
- name: Build the application
|
||||
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