From f7e64018f0d647d03019c2fa2cf54d418c845b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Mon, 31 Oct 2022 17:28:50 +0000 Subject: [PATCH] feat: new robots dist --- .gitlab-ci.yml | 4 ++++ examples/web/robots.txt | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 examples/web/robots.txt diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 92bf4606..e68b8a03 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 00000000..a78466b3 --- /dev/null +++ b/examples/web/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / -- GitLab