deploy catalogs addon to a third instance
This commit is contained in:
parent
1782e03660
commit
459520d88b
2 changed files with 6 additions and 4 deletions
2
.github/workflows/deploy_addon.yml
vendored
2
.github/workflows/deploy_addon.yml
vendored
|
|
@ -17,6 +17,8 @@ jobs:
|
||||||
ssh-key: SSH_KEY
|
ssh-key: SSH_KEY
|
||||||
- ssh-host: SSH_HOST_2
|
- ssh-host: SSH_HOST_2
|
||||||
ssh-key: SSH_KEY_2
|
ssh-key: SSH_KEY_2
|
||||||
|
- ssh-host: SSH_HOST_3
|
||||||
|
ssh-key: SSH_KEY_3
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
|
||||||
8
.github/workflows/deploy_catalogs.yml
vendored
8
.github/workflows/deploy_catalogs.yml
vendored
|
|
@ -32,10 +32,10 @@ jobs:
|
||||||
- name: Deploy Docker image
|
- name: Deploy Docker image
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SCRAPER_SSH_HOST }}
|
host: ${{ secrets.SSH_HOST_3 }}
|
||||||
username: ${{ secrets.SCRAPER_SSH_USERNAME }}
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
port: ${{ secrets.SCRAPER_SSH_PORT }}
|
port: ${{ secrets.SSH_PORT }}
|
||||||
key: ${{ secrets.SCRAPER_SSH_KEY }}
|
key: ${{ secrets.SSH_KEY_3 }}
|
||||||
script: |
|
script: |
|
||||||
docker load -i /tmp/docker/torrentio_catalogs_latest.tar
|
docker load -i /tmp/docker/torrentio_catalogs_latest.tar
|
||||||
docker stop torrentio-catalogs
|
docker stop torrentio-catalogs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue