VELTRON.NET/.github/workflows/push.yml
2023-12-30 15:52:58 -05:00

24 lines
654 B
YAML

name: Push over SCP
on:
schedule:
- cron: "0 */3 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: copy file via ssh key
uses: appleboy/scp-action@master
with:
host: ${{ secrets.IP }}
username: ${{ secrets.mattthetekie }}
password : ${{ secrets.PASS }}
proxy_host: ${{ secrets.DEST_IP }}
proxy_username: ${{ secrets.mattthetekie }}
proxy_key: ${{ secrets.JUMP_SERVER_KEY }}
proxy_passphrase: ${{ secrets.JUMP_SERVER_KEY_PASSPHRASE }}
source: "docker-compose.yml,.env"
target: ${{ env.DEPLOYMENT_PATH }}