diff --git a/.github/workflows/docs-preview-create.yml b/.github/workflows/docs-preview-create.yml index 0665ef7da1..cc1e1e2c7a 100644 --- a/.github/workflows/docs-preview-create.yml +++ b/.github/workflows/docs-preview-create.yml @@ -19,8 +19,8 @@ on: description: 'Branch (eg. my-feature-branch)' required: true type: string - check_id: - description: 'The ID of the check that triggered this workflow' + sha: + description: 'The commit SHA responsible for triggering this workflow' required: false type: string @@ -66,7 +66,7 @@ jobs: - name: Push id: push - run: git add -A && git commit -m "sync docs for check run ${{ inputs.check_id }}" && git push -u origin ${{ env.BRANCH }} --force + run: git add -A && git commit -m "sync docs for repo ${{ inputs.repo }}, pr ${{ inputs.pr }}, commit ${{ inputs.sha }}" && git push -u origin ${{ env.BRANCH }} --force - name: Request preview comment uses: peter-evans/repository-dispatch@v3