Update push.yml
This commit is contained in:
parent
183bb347bb
commit
1caab072d4
1 changed files with 5 additions and 0 deletions
5
.github/workflows/push.yml
vendored
5
.github/workflows/push.yml
vendored
|
|
@ -26,3 +26,8 @@ jobs:
|
|||
pass : ${{ secrets.PASS }}
|
||||
command: |
|
||||
rm -rf /var/www/venith && cd /var/www/ && git clone https://github.com/VenithNET/VENITH.NET/ && mv VENITH.NET venith
|
||||
- name: Deploy
|
||||
run: |
|
||||
TEMP=$(mktemp)
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $TEMP
|
||||
ssh -o 'StrictHostKeyChecking no' -i $TEMP mattthetekie@venith.net 'bash -s' < scripts/deploy.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue