diff --git a/.github/workflows/doc-publish.yml b/.github/workflows/doc-publish.yml index 361dafb22e0..d5a8b88c699 100644 --- a/.github/workflows/doc-publish.yml +++ b/.github/workflows/doc-publish.yml @@ -63,17 +63,8 @@ jobs: NETLIFY_MESSAGE: ${{ steps.source-run-info.outputs.pullRequestNumber }} NETLIFY_ALIAS: deploy-preview-${{ steps.source-run-info.outputs.pullRequestNumber }} - # Add deployment as status check, PR comment and annotation + # Add deployment as status check and annotation # we could use the nwtgck/actions-netlify action for that, except for that it is not (yet) working in workflow_run context: https://github.com/nwtgck/actions-netlify/issues/545 - - name: Add/Update deployment status PR comment - uses: marocchino/sticky-pull-request-comment@v2 - with: - number: ${{ steps.source-run-info.outputs.pullRequestNumber }} - header: preview-comment - recreate: true - message: | - [Documentation preview for this PR](${{ steps.deploy-netlify.outputs.NETLIFY_URL }}/html/en) (built with commit ${{ steps.source-run-info.outputs.sourceHeadSha }}; [changes](${{ steps.deploy-netlify.outputs.NETLIFY_URL }}/CHANGES.html)) is ready! :tada: - - name: Update deployment status PR check uses: myrotvorets/set-commit-status-action@v2.0.0 if: ${{ always() }} @@ -90,7 +81,7 @@ jobs: - name: Report deployment url run: | - echo "::notice::The documentation has been deployed - ${{ steps.deploy-netlify.outputs.NETLIFY_URL }}" + echo "::notice::The documentation has been deployed - ${{ steps.deploy-netlify.outputs.NETLIFY_URL }}/html/en (built with commit ${{ steps.source-run-info.outputs.sourceHeadSha }}; changes: ${{ steps.deploy-netlify.outputs.NETLIFY_URL }}/CHANGES.html)" publish-live-doc: runs-on: ubuntu-latest