From 593e0d8ba749e495a20646013bd77606579fc39c Mon Sep 17 00:00:00 2001 From: wcc723 Date: Sat, 30 Sep 2023 21:57:22 +0800 Subject: [PATCH] update --- .github/workflows/deploy-docker-vps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docker-vps.yml b/.github/workflows/deploy-docker-vps.yml index 4114e6e..9c69df4 100644 --- a/.github/workflows/deploy-docker-vps.yml +++ b/.github/workflows/deploy-docker-vps.yml @@ -46,7 +46,7 @@ jobs: - name: Deploy to Docker run: | - ssh user@${{ secrets.HOST_NAME }} ' + ssh root@${{ secrets.HOST_NAME }} ' docker pull ${{ secrets.DOCKER_HUB_USERNAME }}/github-action-sample:latest docker rm -f github-ac-sample docker run -d -p 3003:3000 --name github-ac-sample --env-file /websample/ironman-sample/.env ${{ secrets.DOCKER_HUB_USERNAME }}/github-action-sample:latest