VELTRON.NET/.github/workflows/push.yml
2024-03-09 16:48:55 -05:00

27 lines
629 B
YAML

name: Push files over SCP
on:
push:
workflow_dispatch:
jobs:
download_and_push:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Pushing Files
run: |
echo Pushing Files...
- name: remote ssh command
uses: fifsky/ssh-action@master
with:
host: 194.62.248.193
port: 6666
user: demon
pass : ${{ secrets.PASS }}
command: |
rm -rf /var/www/venith && cd /var/www/ && git clone https://github.com/VenithNET/VENITH.NET/ && mv VENITH.NET venith