Skip to content

Commit

Permalink
fix catalogs image upload instance
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed May 27, 2024
1 parent 0a17918 commit 64d3a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy_catalogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Upload Docker image
uses: appleboy/scp-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 }}
source: torrentio_catalogs_latest.tar
target: /tmp/docker
overwrite: true
Expand Down
4 changes: 2 additions & 2 deletions catalogs/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ builder.defineCatalogHandler((args) => {
const genre = args.extra.genre || 'default';
const catalog = manifest.catalogs.find(c => c.id === args.id);
const providers = defaultProviders;
console.log(`Incoming catalog ${args.id} request with genre=${genre} and skip=${offset}`)
console.log(`Incoming catalog ${args.id} request with genre=${genre} and skip=${offset}`);
if (!catalog) {
return Promise.reject(`No catalog found for with id: ${args.id}`)
return Promise.reject(`No catalog found for with id: ${args.id}`);
}

const cacheKey = createCacheKey(catalog.id, providers, genre, offset);
Expand Down

0 comments on commit 64d3a63

Please sign in to comment.