Skip to content

Commit

Permalink
👷Trying some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienRoco committed Sep 16, 2023
1 parent 321c13a commit f749d17
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/update-vps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
- Fix_vps

env:
VPS_HOST: ${{ secrets.VPS_HOST }}
VPS_USER: ${{ secrets.VPS_USER }}
VPS_PASSWD: ${{ secrets.VPS_PASSWD }}
VPS_PORT: ${{ secrets.VPS_PORT }}
HOST: ${{ secrets.VPS_HOST }}
USER: ${{ secrets.VPS_USER }}
PASSWD: ${{ secrets.VPS_PASSWD }}
PORT: ${{ secrets.VPS_PORT }}

jobs:
Update:
Expand All @@ -21,10 +21,10 @@ jobs:
- name: Execute script on VPS
uses: appleboy/ssh-action@master
with:
host: $VPS_HOST
username: $VPS_USER
password: $VPS_PASSWD
port: $VPS_PORT
host: $HOST
username: $USER
password: $PASSWD
port: $PORT
script: |
cd /home/honeybrain/Honeybrain/Honeypot
./scripts/auto_update_vps.sh > /home/honeybrain/Honeybrain/update.log
./scripts/auto_update_vps.sh > /home/honeybrain/Honeybrain/update.log

0 comments on commit f749d17

Please sign in to comment.