CI/CD
This commit is contained in:
@@ -19,12 +19,13 @@ jobs:
|
|||||||
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
|
- name: Upload build to SFTP
|
||||||
uses: appleboy/scp-action@master
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SSH_HOST }}
|
server: ${{ secrets.SSH_HOST }}
|
||||||
username: ${{ secrets.SSH_USERNAME }}
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
port: ${{ secrets.SSH_PORT }}
|
|
||||||
password: ${{ secrets.SSH_PASSWORD }}
|
password: ${{ secrets.SSH_PASSWORD }}
|
||||||
source: "/dist/builds/win/x64/Rosetta-*.exe"
|
port: ${{ secrets.SSH_PORT }}
|
||||||
target: ${{ secrets.SSH_TARGET_DIR }}
|
local_path: ./dist/builds/win/x64/*
|
||||||
|
remote_path: ${{ secrets.SSH_TARGET_DIR }}
|
||||||
|
sftpArgs: '-o ConnectTimeout=5'
|
||||||
Reference in New Issue
Block a user