deploy catalogs addon to a third instance

This commit is contained in:
TheBeastLT 2024-05-27 19:33:04 +03:00
parent 1782e03660
commit 459520d88b
2 changed files with 6 additions and 4 deletions

View file

@ -17,6 +17,8 @@ jobs:
ssh-key: SSH_KEY
- ssh-host: SSH_HOST_2
ssh-key: SSH_KEY_2
- ssh-host: SSH_HOST_3
ssh-key: SSH_KEY_3
steps:
- uses: actions/checkout@v1

View file

@ -32,10 +32,10 @@ jobs:
- name: Deploy Docker image
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SCRAPER_SSH_HOST }}
username: ${{ secrets.SCRAPER_SSH_USERNAME }}
port: ${{ secrets.SCRAPER_SSH_PORT }}
key: ${{ secrets.SCRAPER_SSH_KEY }}
host: ${{ secrets.SSH_HOST_3 }}
username: ${{ secrets.SSH_USERNAME }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY_3 }}
script: |
docker load -i /tmp/docker/torrentio_catalogs_latest.tar
docker stop torrentio-catalogs