chore: push deploy stack local with dockerhub images
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 8s
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 8s
This commit is contained in:
20
.gitea/workflows/deploy.yml
Normal file
20
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Deploy with Docker Compose
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # adapte la branche que tu veux déployer
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: mac-orbstack-runner # le nom que tu as donné au runner
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Deploy stack
|
||||||
|
env:
|
||||||
|
DOCKER_BUILDKIT: 1
|
||||||
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||||
|
run: |
|
||||||
|
BUILDKIT_PROGRESS=plain docker pull julienfroidefond32/stripstream-backoffice && docker pull julienfroidefond32/stripstream-api && docker pull julienfroidefond32/stripstream-indexer && ./scripts/stack.sh up stripstream
|
||||||
@@ -513,6 +513,15 @@ async fn get_series_books_impl(
|
|||||||
|
|
||||||
// External book ID from album URL (e.g. "...-1063.html")
|
// External book ID from album URL (e.g. "...-1063.html")
|
||||||
let album_url = title_el.and_then(|el| el.value().attr("href")).unwrap_or("");
|
let album_url = title_el.and_then(|el| el.value().attr("href")).unwrap_or("");
|
||||||
|
|
||||||
|
// Only keep main tomes — their URLs contain "Tome-{N}-"
|
||||||
|
// Skip hors-série (HS), intégrales (INT/INTFL), romans, coffrets, etc.
|
||||||
|
if let Ok(re) = regex::Regex::new(r"(?i)-Tome-\d+-") {
|
||||||
|
if !re.is_match(album_url) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let external_book_id = regex::Regex::new(r"-(\d+)\.html")
|
let external_book_id = regex::Regex::new(r"-(\d+)\.html")
|
||||||
.ok()
|
.ok()
|
||||||
.and_then(|re| re.captures(album_url))
|
.and_then(|re| re.captures(album_url))
|
||||||
|
|||||||
Reference in New Issue
Block a user