diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 92bf46068bd64c858ea717c0cb9d6d719e321b88..e68b8a03cb67fa017cb1781077bbdbdb9a7474bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,6 +65,7 @@ deploy-netlify-prod: stage: deploy script: - cd examples/web/dist + - cp ../robots.txt . - npm_config_yes=true npx --package=netlify-cli netlify deploy --dir=. --prod dependencies: - build-wasm @@ -75,6 +76,7 @@ deploy-cloudfare-master: stage: deploy script: - cd examples/web/dist + - cp ../robots.txt . - npm_config_yes=true npx wrangler pages publish . --project-name=boytacean --branch master dependencies: - build-wasm @@ -85,6 +87,7 @@ deploy-cloudfare-stable: stage: deploy script: - cd examples/web/dist + - cp ../robots.txt . - npm_config_yes=true npx wrangler pages publish . --project-name=boytacean --branch stable dependencies: - build-wasm @@ -95,6 +98,7 @@ deploy-cloudfare-prod: stage: deploy script: - cd examples/web/dist + - cp ../robots.txt . - npm_config_yes=true npx wrangler pages publish . --project-name=boytacean --branch prod dependencies: - build-wasm diff --git a/examples/web/robots.txt b/examples/web/robots.txt new file mode 100644 index 0000000000000000000000000000000000000000..a78466b3d66c7386c0ccc2293a67bccf4b6c85ff --- /dev/null +++ b/examples/web/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /