diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ff18dba..d2251c2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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