Skip to content

Commit

Permalink
chore(fix): add github actionsv1-0-2
Browse files Browse the repository at this point in the history
ndu committed Aug 17, 2024
1 parent 5930d14 commit 39efa60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/vps.yml
Original file line number Diff line number Diff line change
@@ -9,15 +9,14 @@ 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:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USERNAME }}
password: ${{ secrets.VPS_PASSWORD }}
script: |
whoami
cd /var/www
git reset --hard
git pull origin main

0 comments on commit 39efa60

Please sign in to comment.