From 612ee98126b89f1181ffafe11af15d5ff46420b8 Mon Sep 17 00:00:00 2001 From: Owen Rumney Date: Thu, 13 Nov 2025 17:27:26 +0000 Subject: [PATCH] chore: trigger the trivy-www workflow (#9737) --- .github/workflows/mkdocs-latest.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/mkdocs-latest.yaml b/.github/workflows/mkdocs-latest.yaml index 3fab51bf84..a7491ca739 100644 --- a/.github/workflows/mkdocs-latest.yaml +++ b/.github/workflows/mkdocs-latest.yaml @@ -40,3 +40,19 @@ jobs: - name: Deploy the latest documents from manual trigger if: ${{ github.event.inputs.version != '' }} run: mike deploy --push --update-aliases ${{ github.event.inputs.version }} latest + + # This workflow is used to trigger the trivy-www deployment + trigger-trivy-www-deploy: + needs: deploy + runs-on: ubuntu-22.04 + steps: + - name: Trigger update_version workflow in trivy-telemetry + env: + # Use ORG_REPO_TOKEN instead of GITHUB_TOKEN + # This allows triggering workflows in other repositories + GH_TOKEN: ${{ secrets.ORG_REPO_TOKEN }} + run: | + gh workflow run build-docs.yml \ + --repo ${{ github.repository_owner }}/trivy-www \ + --ref main \ + --field from_version=${{ github.ref_name }} \ No newline at end of file