Update push.yml
This commit is contained in:
parent
6ac47f8cf6
commit
352cdc23b3
1 changed files with 3 additions and 23 deletions
26
.github/workflows/push.yml
vendored
26
.github/workflows/push.yml
vendored
|
|
@ -12,9 +12,9 @@ jobs:
|
|||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Downloading Files
|
||||
- name: Pushing Files
|
||||
run: |
|
||||
echo Downloading Files...
|
||||
echo Pushing Files...
|
||||
|
||||
- name: remote ssh command
|
||||
uses: appleboy/ssh-action@v1.0.1
|
||||
|
|
@ -23,24 +23,4 @@ jobs:
|
|||
username: demon
|
||||
port: 6666
|
||||
password : ${{ secrets.PASS }}
|
||||
script: rm -rf /var/www/venith
|
||||
|
||||
- name: Push Files via SCP
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: 194.62.248.193
|
||||
username: demon
|
||||
port: 6666
|
||||
password : ${{ secrets.PASS }}
|
||||
source: "/home/runner/work/VENITH.NET/VENITH.NET/"
|
||||
target: "/var/www/venith/"
|
||||
|
||||
- name: remote ssh command
|
||||
uses: appleboy/ssh-action@v1.0.1
|
||||
with:
|
||||
host: 194.62.248.193
|
||||
username: demon
|
||||
port: 6666
|
||||
password : ${{ secrets.PASS }}
|
||||
script: mv /var/www/venith/github/workspace/* /var/www/venith/ -f
|
||||
|
||||
script: rm -rf /var/www/venith && cd /var/www/ && git clone https://github.com/VenithNET/VENITH.NET/ && mv VENITH.NET && venith
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue