From 1ac231d25a9d12c78c2d1d19ef233007a9b6e616 Mon Sep 17 00:00:00 2001 From: Boutzi Date: Mon, 4 Nov 2024 16:42:01 +0100 Subject: [PATCH] fix 404 --- .github/workflows/dev_ci.yml | 14 ++++++------- app/{[locale] => }/error/page.tsx | 0 app/{[locale] => }/fonts/GeistMonoVF.woff | Bin app/{[locale] => }/fonts/GeistVF.woff | Bin app/index.html | 24 ---------------------- app/{[locale] => }/not-found.tsx | 0 6 files changed, 7 insertions(+), 31 deletions(-) rename app/{[locale] => }/error/page.tsx (100%) rename app/{[locale] => }/fonts/GeistMonoVF.woff (100%) rename app/{[locale] => }/fonts/GeistVF.woff (100%) delete mode 100644 app/index.html rename app/{[locale] => }/not-found.tsx (100%) diff --git a/.github/workflows/dev_ci.yml b/.github/workflows/dev_ci.yml index 308be80..daa0d42 100644 --- a/.github/workflows/dev_ci.yml +++ b/.github/workflows/dev_ci.yml @@ -4,22 +4,22 @@ on: push: branches: ["dev"] - workflow_dispatch: + workflow_dispatch: # Permet de déclencher manuellement le workflow via l'interface GitHub permissions: contents: read concurrency: - group: "pages" + group: "pages" # Groupe de concurrence pour éviter des exécutions multiples en même temps cancel-in-progress: false jobs: security-and-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-latest # Exécute le workflow sur la dernière version d'Ubuntu steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v4 # Récupère le code source du dépôt - name: Setup Node uses: actions/setup-node@v4 @@ -35,11 +35,11 @@ jobs: - name: Depencies audit run: npm audit --audit-level=moderate - #- name: Run Unit Tests - # run: npx jest --coverage + # - name: Run Unit Tests + # run: npx jest --coverage # (commenté) Exécute les tests unitaires avec Jest et génère un rapport de couverture - name: Build application - run: npm run build + run: npm run build # Compile l'application env: NEXT_PUBLIC_GITHUB_BEARER_TOKEN: ${{ secrets.NEXT_PUBLIC_GITHUB_BEARER_TOKEN }} NEXT_PUBLIC_APIKEY: ${{ secrets.NEXT_PUBLIC_APIKEY }} diff --git a/app/[locale]/error/page.tsx b/app/error/page.tsx similarity index 100% rename from app/[locale]/error/page.tsx rename to app/error/page.tsx diff --git a/app/[locale]/fonts/GeistMonoVF.woff b/app/fonts/GeistMonoVF.woff similarity index 100% rename from app/[locale]/fonts/GeistMonoVF.woff rename to app/fonts/GeistMonoVF.woff diff --git a/app/[locale]/fonts/GeistVF.woff b/app/fonts/GeistVF.woff similarity index 100% rename from app/[locale]/fonts/GeistVF.woff rename to app/fonts/GeistVF.woff diff --git a/app/index.html b/app/index.html deleted file mode 100644 index 4809cbd..0000000 --- a/app/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - diff --git a/app/[locale]/not-found.tsx b/app/not-found.tsx similarity index 100% rename from app/[locale]/not-found.tsx rename to app/not-found.tsx