diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e68b8a03cb67fa017cb1781077bbdbdb9a7474bb..28d50c7570bf528b34be105ebecbb858c36767a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,6 +55,7 @@ deploy-netlify-preview: stage: deploy script: - cd examples/web/dist + - cp -rp ../static/* . - npm_config_yes=true npx --package=netlify-cli netlify deploy --dir=. dependencies: - build-wasm @@ -65,7 +66,7 @@ deploy-netlify-prod: stage: deploy script: - cd examples/web/dist - - cp ../robots.txt . + - cp -rp ../static/* . - npm_config_yes=true npx --package=netlify-cli netlify deploy --dir=. --prod dependencies: - build-wasm @@ -76,7 +77,7 @@ deploy-cloudfare-master: stage: deploy script: - cd examples/web/dist - - cp ../robots.txt . + - cp -rp ../static/* . - npm_config_yes=true npx wrangler pages publish . --project-name=boytacean --branch master dependencies: - build-wasm @@ -87,7 +88,7 @@ deploy-cloudfare-stable: stage: deploy script: - cd examples/web/dist - - cp ../robots.txt . + - cp -rp ../static/* . - npm_config_yes=true npx wrangler pages publish . --project-name=boytacean --branch stable dependencies: - build-wasm @@ -98,7 +99,7 @@ deploy-cloudfare-prod: stage: deploy script: - cd examples/web/dist - - cp ../robots.txt . + - cp -rp ../static/* . - npm_config_yes=true npx wrangler pages publish . --project-name=boytacean --branch prod dependencies: - build-wasm diff --git a/examples/web/static/_headers b/examples/web/static/_headers new file mode 100644 index 0000000000000000000000000000000000000000..7d54b8fcaf282650627bbf184ad85c9c36633d01 --- /dev/null +++ b/examples/web/static/_headers @@ -0,0 +1,3 @@ + +/* + X-Robots-Tag: all diff --git a/examples/web/robots.txt b/examples/web/static/robots.txt similarity index 100% rename from examples/web/robots.txt rename to examples/web/static/robots.txt