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:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
|
||||||
- 'Olhar-PWA/**'
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'feat/**'
|
- 'feat/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
|
||||||
- 'Olhar-PWA/**'
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: Olhar-PWA
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -52,8 +45,8 @@ jobs:
|
|||||||
- name: Build & push image
|
- name: Build & push image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: Olhar-PWA
|
context: .
|
||||||
file: Olhar-PWA/Dockerfile
|
file: Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.goutailler-olivier.com/gato/olhar-pwa:latest
|
git.goutailler-olivier.com/gato/olhar-pwa:latest
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "olhar-pwa",
|
"name": "olhar-pwa",
|
||||||
"version": "0.0.0",
|
"version": "0.0.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "olhar-pwa",
|
"name": "olhar-pwa",
|
||||||
"version": "0.0.0",
|
"version": "0.0.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "^19.2.0",
|
"@angular/common": "^19.2.0",
|
||||||
"@angular/compiler": "^19.2.0",
|
"@angular/compiler": "^19.2.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "olhar-pwa",
|
"name": "olhar-pwa",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
|
|||||||
Reference in New Issue
Block a user