fix deploy vars
All checks were successful
Gitea Action Maven build / build (push) Successful in 49s
Gitea Action Maven build / deploy (push) Successful in 5s

This commit is contained in:
Eduard Kuksa 2025-02-13 20:57:16 +07:00
parent 37e8e1c83c
commit bd2359e1a0

View File

@ -60,6 +60,6 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Deploy to Local Server
run: |
# scp target/*.jar edkuksa@192.168.120.70:/home/edkuksa/projects/spring-demo/
scp -r target/*.jar ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }}:${{ vars.DEPLOY_PATH }}
scp target/*.jar ${{ vars.DEPLOY_USER }}@192.168.120.70:/home/edkuksa/projects/spring-demo/
# scp -r target/*.jar ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }}:${{ vars.DEPLOY_PATH }}