From 39efa60e6740d5b37175f5fd8a8d07e8f8104dd7 Mon Sep 17 00:00:00 2001 From: ndu Date: Sat, 17 Aug 2024 12:29:27 +0100 Subject: [PATCH] chore(fix): add github actionsv1-0-2 --- .github/workflows/vps.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/vps.yml b/.github/workflows/vps.yml index 9eabc23..bf8606c 100644 --- a/.github/workflows/vps.yml +++ b/.github/workflows/vps.yml @@ -9,8 +9,6 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 - name: Deploy to VPS uses: appleboy/ssh-action@v1.0.2 with: @@ -18,6 +16,7 @@ jobs: username: ${{ secrets.VPS_USERNAME }} password: ${{ secrets.VPS_PASSWORD }} script: | + whoami cd /var/www git reset --hard git pull origin main \ No newline at end of file