test ssh 2
All checks were successful
Gitea Action Maven build / build (push) Successful in 48s
Gitea Action Maven build / deploy (push) Successful in 6s

This commit is contained in:
Eduard Kuksa 2025-02-13 22:21:56 +07:00
parent 80bdb72a64
commit 2b6921c2b3

View File

@ -68,8 +68,9 @@ jobs:
scp artifact/docker-compose.yml ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }}:${{ vars.DEPLOY_PATH }}
- name: Build and Run Docker Image with Docker Compose
run: |
ssh ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }}
# "cd ${{ vars.DEPLOY_PATH }}
ssh ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }} << EOF
cd ${{ vars.DEPLOY_PATH }}
ls
# docker compose down
# docker compose up -d --build
# EOF