diff --git a/.github/workflows/deploy-recette.yml b/.github/workflows/deploy-recette.yml index c6586be..4865c6d 100644 --- a/.github/workflows/deploy-recette.yml +++ b/.github/workflows/deploy-recette.yml @@ -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: diff --git a/robots-recette.txt b/robots-recette.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/robots-recette.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file