diff --git a/.github/workflows/commit-preview.yaml b/.github/workflows/commit-preview.yaml index 1926ba77..a731a3f5 100644 --- a/.github/workflows/commit-preview.yaml +++ b/.github/workflows/commit-preview.yaml @@ -4,12 +4,12 @@ name: Commit preview jobs: build-website: uses: ./.github/workflows/build-website.yaml - + publish: uses: ./.github/workflows/publish-website.yaml needs: build-website secrets: inherit - + comment-on-commit: name: Add a comment on the commit runs-on: ubuntu-latest @@ -18,7 +18,7 @@ jobs: contents: read env: GITHUB_PUBLISH_TOKEN: ${{ secrets.COZY_PAT }} - DEPLOYMENT_URL: ${{ needs.publish.outputs.deployment-url }} + DEPLOYMENT_URL: ${{ needs.publish.outputs.url }} steps: - name: Comment on the Comment if: env.GITHUB_PUBLISH_TOKEN != ''