zzls Selfhost
5d67936924
All checks were successful
Remote SSH / Pull latest invidious commit from upstream (push) Successful in 4s
22 lines
501 B
YAML
22 lines
501 B
YAML
name: Remote SSH
|
|
on:
|
|
schedule:
|
|
- cron: '*/2 * * * *'
|
|
push:
|
|
branches: ["*"]
|
|
|
|
jobs:
|
|
|
|
pull-remote:
|
|
name: Pull latest invidious commit from upstream
|
|
runs-on: runner
|
|
steps:
|
|
- name: Connect to server
|
|
uses: https://github.com/appleboy/ssh-action@v1.0.3
|
|
with:
|
|
host: ${{ secrets.SSH_IP }}
|
|
username: ${{ secrets.SSH_USER }}
|
|
key: ${{ secrets.SSH_KEY }}
|
|
port: ${{ secrets.SSH_PORT }}
|
|
script: |
|
|
${{ secrets.SSH_SCRIPT }}
|