diff --git a/.github/workflows/aloglia_crawler.yaml b/.github/workflows/aloglia_crawler.yaml index 18d96473e2..f52b6e75b9 100644 --- a/.github/workflows/aloglia_crawler.yaml +++ b/.github/workflows/aloglia_crawler.yaml @@ -32,7 +32,7 @@ jobs: - name: Slack Notification if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2 + uses: rtCamp/action-slack-notify@v2.3.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} SLACK_USERNAME: "spectromate" diff --git a/.github/workflows/api_format.yaml b/.github/workflows/api_format.yaml index 32f436ab1f..dbeeafc04a 100644 --- a/.github/workflows/api_format.yaml +++ b/.github/workflows/api_format.yaml @@ -78,7 +78,7 @@ jobs: - name: Slack Notification if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2 + uses: rtCamp/action-slack-notify@v2.3.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }} SLACK_USERNAME: "spectromate" diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index fa0fcf0921..c787cafd11 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -109,7 +109,7 @@ jobs: - name: Slack Notification if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2 + uses: rtCamp/action-slack-notify@v2.3.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }} SLACK_USERNAME: "spectromate" diff --git a/.github/workflows/container-prune.yaml b/.github/workflows/container-prune.yaml index 5aed81fee2..489eecbb79 100644 --- a/.github/workflows/container-prune.yaml +++ b/.github/workflows/container-prune.yaml @@ -29,7 +29,7 @@ jobs: - name: Slack Notification if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2 + uses: rtCamp/action-slack-notify@v2.3.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} SLACK_USERNAME: "spectromate" diff --git a/.github/workflows/packs-data.yaml b/.github/workflows/packs-data.yaml index 2e04579f0e..de74e191b3 100644 --- a/.github/workflows/packs-data.yaml +++ b/.github/workflows/packs-data.yaml @@ -43,7 +43,7 @@ jobs: - name: Slack Notification if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2 + uses: rtCamp/action-slack-notify@v2.3.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} SLACK_USERNAME: "spectromate" diff --git a/.github/workflows/release-preview.yaml b/.github/workflows/release-preview.yaml index 285c9143a2..2bbe4cc2ab 100644 --- a/.github/workflows/release-preview.yaml +++ b/.github/workflows/release-preview.yaml @@ -40,6 +40,20 @@ jobs: - run: npm ci + + - name: Make Robots.txt + run: | + touch static/robots.txt + echo "User-agent: *" >> robots.txt + echo "Disallow: /" >> robots.txt + excho "Sitemap: https://docs-latest.spectrocloud.com/sitemap.xml" >> robots.txt + + + - name: Ensure noIndex is set + id: check_noindex + run: node scripts/noindex_docusaurus_config.js $RUNNER_TEMP $PWD && mv $RUNNER_TEMP/temp.docusaurus.config.js $PWD/docusaurus.config.j + + - name: Build run: | touch .env diff --git a/.github/workflows/versions_robot.yaml b/.github/workflows/versions_robot.yaml index fb69024781..413c01e1ce 100644 --- a/.github/workflows/versions_robot.yaml +++ b/.github/workflows/versions_robot.yaml @@ -95,7 +95,7 @@ jobs: - name: Slack Notification if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2 + uses: rtCamp/action-slack-notify@v2.3.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }} SLACK_USERNAME: "spectromate"