Skip to content

Commit

Permalink
Update trigger-preview.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke authored Oct 29, 2024
1 parent 9bedd0c commit 62f6be8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trigger-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on:

jobs:
find-pull-request:
uses: ProjectPythia/cookbook-actions/.github/workflows/find-pull-request.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/find-pull-request.yaml@v2024.10.29
deploy-preview:
needs: find-pull-request
if: github.event.workflow_run.conclusion == 'success'
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@v2024.10.29
with:
artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }}
destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number
Expand All @@ -23,7 +23,7 @@ jobs:

preview-comment:
needs: find-pull-request
uses: ProjectPythia/cookbook-actions/.github/workflows/preview-comment.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/preview-comment.yaml@v2024.10.29
with:
pull_request_number: ${{ needs.find-pull-request.outputs.number }}
sha: ${{ needs.find-pull-request.outputs.sha }}

0 comments on commit 62f6be8

Please sign in to comment.