fix(ci): corriger le déclenchement des actions Gitea — v0.0.3
Le filtre paths 'Olhar-PWA/**' empêchait tout déclenchement car la racine git est déjà Olhar-PWA/. Suppression du filtre paths et du working-directory redondant ; correction des chemins Docker (context/file).
This commit is contained in:
@@ -2,18 +2,11 @@ name: CI — Tests & Docker Build
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'Olhar-PWA/**'
|
||||
branches:
|
||||
- main
|
||||
- 'feat/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'Olhar-PWA/**'
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: Olhar-PWA
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -52,8 +45,8 @@ jobs:
|
||||
- name: Build & push image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: Olhar-PWA
|
||||
file: Olhar-PWA/Dockerfile
|
||||
context: .
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
git.goutailler-olivier.com/gato/olhar-pwa:latest
|
||||
|
||||
Reference in New Issue
Block a user