Add action to pull latest commit from upstream
All checks were successful
Remote SSH / Pull latest invidious commit from upstream (push) Successful in 4s
All checks were successful
Remote SSH / Pull latest invidious commit from upstream (push) Successful in 4s
This commit is contained in:
parent
2700e4710e
commit
5d67936924
2 changed files with 30 additions and 0 deletions
|
@ -7,6 +7,14 @@ on:
|
||||||
- cron: '0 7 * * 0'
|
- cron: '0 7 * * 0'
|
||||||
push:
|
push:
|
||||||
branches: ["*"]
|
branches: ["*"]
|
||||||
|
paths:
|
||||||
|
- './src/**'
|
||||||
|
- './lib/**'
|
||||||
|
- './spec/**'
|
||||||
|
- './locales/**'
|
||||||
|
- './docker/**'
|
||||||
|
- 'shard.yml'
|
||||||
|
- 'videojs-dependencies.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
22
.forgejo/workflows/pull-remote.yml
Normal file
22
.forgejo/workflows/pull-remote.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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 }}
|
Loading…
Reference in a new issue