Skip to content

Commit

Permalink
Remove in repo replacements for pythia workflows (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke authored Dec 19, 2023
1 parent 293ed18 commit 1508d27
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 161 deletions.
84 changes: 0 additions & 84 deletions .github/workflows/deploy-book.yaml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/preview-comment.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:

deploy:
needs: build
uses: ./.github/workflows/deploy-book.yaml #hack until https://github.com/ProjectPythia/cookbook-actions/pull/45 is merged.
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
with:
publish_dir: "book/_build/html"
5 changes: 2 additions & 3 deletions .github/workflows/trigger-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
deploy-preview:
needs: find-pull-request
if: github.event.workflow_run.conclusion == 'success'
uses: ./.github/workflows/deploy-book.yaml #hack until https://github.com/ProjectPythia/cookbook-actions/pull/45 is merged.
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
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,8 +23,7 @@ jobs:

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

0 comments on commit 1508d27

Please sign in to comment.