From 2fb3410ca6b91aeb286d8d06bb1b490991784a22 Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 22 Mar 2024 16:08:07 +0100 Subject: [PATCH] Ajout des metas dans l'index --- .github/workflows/deploy-recette.yml | 10 ++++++++ {public => desindexation}/index.html | 23 +++---------------- .../robots.txt | 0 3 files changed, 13 insertions(+), 20 deletions(-) rename {public => desindexation}/index.html (67%) rename robots-recette.txt => desindexation/robots.txt (100%) diff --git a/.github/workflows/deploy-recette.yml b/.github/workflows/deploy-recette.yml index 2d14ca1..910c00d 100644 --- a/.github/workflows/deploy-recette.yml +++ b/.github/workflows/deploy-recette.yml @@ -54,6 +54,16 @@ jobs: envkey_REACT_APP_PIX_CAMPAGNE_URL: ${{ secrets.REACT_APP_PIX_CAMPAGNE_URL }} envkey_REACT_APP_PIX_URL: "https://app.pix.fr/connexion" file_name: .env + - name: copy robots.txt + uses: canastro/copy-file-action@master + with: + source: "desindexation/robots.txt" + target: "public/robots.txt" + - name: copy index.html + uses: canastro/copy-file-action@master + with: + source: "desindexation/index.html" + target: "public/index.html" - name: Build application run: npm run build - name: copy .htaccess diff --git a/public/index.html b/desindexation/index.html similarity index 67% rename from public/index.html rename to desindexation/index.html index ac99577..ba7c93d 100644 --- a/public/index.html +++ b/desindexation/index.html @@ -7,7 +7,9 @@ - + + + - - - - diff --git a/robots-recette.txt b/desindexation/robots.txt similarity index 100% rename from robots-recette.txt rename to desindexation/robots.txt