From fa496a4c6d0b811bf3fe333178e6cc9e839795fb Mon Sep 17 00:00:00 2001 From: Peter Lieverdink Date: Fri, 13 Oct 2023 16:36:21 +1100 Subject: [PATCH] chore: Ensure other AI systems do not use this one as source. Refs: OPS-9682 --- assets/docker-build-image.yml | 31 ------------------------------- assets/robots.txt.append | 13 +++++++++++++ 2 files changed, 13 insertions(+), 31 deletions(-) delete mode 100644 assets/docker-build-image.yml diff --git a/assets/docker-build-image.yml b/assets/docker-build-image.yml deleted file mode 100644 index 205391e..0000000 --- a/assets/docker-build-image.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Build docker image - -on: - push: - branches: - - develop - - 'feature/**' - - main - release: - types: [published] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - - name: Build - id: build-action - uses: UN-OCHA/actions/drupal-docker-build@main - with: - aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} - aws_secret_access_key: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} - docker_registry_url: public.ecr.aws - docker_registry_path: /unocha/ - docker_image: ai-summarize-site - docker_username: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} - docker_password: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} - ecr_github_token: ${{ secrets.ECR_GITHUB_TOKEN }} - ecr_jenkins_token: ${{ secrets.JENKINS_ECR_TOKEN }} - slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} - slack_channel_name: ${{ secrets.SLACK_CHANNEL }} diff --git a/assets/robots.txt.append b/assets/robots.txt.append index e40cd97..02f27d5 100644 --- a/assets/robots.txt.append +++ b/assets/robots.txt.append @@ -1 +1,14 @@ # Sitemap + +# Other people's AI. +User-agent: GPTBot +Disallow: / + +User-agent: ChatGPT-User +Disallow: / + +User-agent: Google-Extended +Disallow: / + +User-agent: CCBot +Disallow: /