diff --git a/.github/workflows/generate_preview_link.yml b/.github/workflows/generate_preview_link.yml index 4b13db501..e3ecd090c 100644 --- a/.github/workflows/generate_preview_link.yml +++ b/.github/workflows/generate_preview_link.yml @@ -39,6 +39,13 @@ jobs: run: | echo "username=$(cat .pr/USERNAME)" >> $GITHUB_OUTPUT echo "issue_number=$(cat .pr/ISSUE_NUMBER)" >> $GITHUB_OUTPUT + + - name: Post preview build comment + id: post_preview_build_comment + uses: "deriv-com/shared-actions/.github/actions/post_preview_build_comment@v1" + with: + issue_number: ${{steps.pr_information.outputs.issue_number}} + head_sha: ${{github.event.workflow_run.head_sha}} - name: Verify user uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1" @@ -51,13 +58,6 @@ jobs: with: ref: ${{ github.event.workflow_run.head_sha }} - - name: Post preview build comment - id: post_preview_build_comment - uses: "deriv-com/shared-actions/.github/actions/post_preview_build_comment@v1" - with: - issue_number: ${{steps.pr_information.outputs.issue_number}} - head_sha: ${{github.event.workflow_run.head_sha}} - - name: Setup Node uses: actions/setup-node@v1 with: