Add action to pull latest commit from upstream
This commit is contained in:
parent
2700e4710e
commit
d3072a106b
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/pull-remote.yml
Normal file
17
.forgejo/workflows/pull-remote.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Remote SSH
|
||||
on: [push]
|
||||
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 }}
|
Loading…
Reference in a new issue