mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
update deploy workflow
This commit is contained in:
parent
cca0331caa
commit
fb8148a737
1 changed files with 5 additions and 4 deletions
9
.github/workflows/deploy_addon.yml
vendored
9
.github/workflows/deploy_addon.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
branches: master
|
||||
paths:
|
||||
- 'addon/**'
|
||||
- '.github/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -28,10 +29,10 @@ jobs:
|
|||
- name: Upload Docker image
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets[matrix.matrix.ssh-host] }}
|
||||
host: ${{ secrets[matrix.ssh-host] }}
|
||||
username: ${{ secrets.SSH_USERNAME }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets[matrix.matrix.ssh-key] }}
|
||||
key: ${{ secrets[matrix.ssh-key] }}
|
||||
source: torrentio_addon_latest.tar
|
||||
target: /tmp/docker
|
||||
overwrite: true
|
||||
|
|
@ -39,10 +40,10 @@ jobs:
|
|||
- name: Deploy Docker image
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets[matrix.matrix.ssh-host] }}
|
||||
host: ${{ secrets[matrix.ssh-host] }}
|
||||
username: ${{ secrets.SSH_USERNAME }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets[matrix.matrix.ssh-key] }}
|
||||
key: ${{ secrets[matrix.ssh-key] }}
|
||||
script: |
|
||||
docker load -i /tmp/docker/torrentio_addon_latest.tar
|
||||
docker stop torrentio-addon
|
||||
|
|
|
|||
Loading…
Reference in a new issue