From 7e457a367e67f4e1b7d28ebd769e3a649ea60175 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Tue, 11 Jul 2023 15:14:50 +0200 Subject: [PATCH] Fix: [CI] actually use the GitHub Apps token to trigger "Publish Docs" (#11128) --- .github/workflows/upload-cdn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-cdn.yml b/.github/workflows/upload-cdn.yml index 735c8ef8b6..f7f925222c 100644 --- a/.github/workflows/upload-cdn.yml +++ b/.github/workflows/upload-cdn.yml @@ -97,7 +97,7 @@ jobs: - name: Trigger 'Publish Docs' uses: peter-evans/repository-dispatch@v2 with: - token: ${{ secrets.DEPLOYMENT_TOKEN }} + token: ${{ steps.generate_token.outputs.token }} repository: OpenTTD/workflows event-type: publish-docs client-payload: '{"version": "${{ inputs.version }}", "folder": "${{ inputs.folder }}"}'