Skip to content

Commit

Permalink
Merge pull request #141 from anct-cnum/mp/testCreationRobotTxtPourRec…
Browse files Browse the repository at this point in the history
…ette

Placer un robot.txt en recette pour empecher les robots d'indexer
  • Loading branch information
MorganP-projects authored Feb 28, 2024
2 parents 64ac9fb + a17414b commit 1dbe310
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-recette.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:
with:
source: ".htaccess"
target: "build/.htaccess"
- name: copy robots.txt
uses: canastro/copy-file-action@master
with:
source: "robots-recette.txt"
target: "build/robots.txt"
- name: Upload release bundle as artifact
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions robots-recette.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /

0 comments on commit 1dbe310

Please sign in to comment.