diff --git a/.github/workflows/publish-book.yaml b/.github/workflows/publish-book.yaml index c23d13cf..22107b33 100644 --- a/.github/workflows/publish-book.yaml +++ b/.github/workflows/publish-book.yaml @@ -9,8 +9,7 @@ on: jobs: build: - # uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main - uses: brian-rose/cookbook-actions/.github/workflows/build-book.yaml@find-pr + uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main with: environment_name: cookbook-dev environment_file: environment.yml @@ -19,8 +18,7 @@ jobs: deploy: needs: build - # uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/deploy-book.yaml@main - uses: brian-rose/cookbook-actions/.github/workflows/deploy-book.yaml@find-pr + uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/deploy-book.yaml@main with: artifact_name: book-zip \ No newline at end of file diff --git a/.github/workflows/trigger-book-build.yaml b/.github/workflows/trigger-book-build.yaml index 250f258d..43ea7c16 100644 --- a/.github/workflows/trigger-book-build.yaml +++ b/.github/workflows/trigger-book-build.yaml @@ -4,8 +4,7 @@ on: jobs: build: - # uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main - uses: brian-rose/cookbook-actions/.github/workflows/build-book.yaml@find-pr + uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main with: environment_name: cookbook-dev environment_file: environment.yml diff --git a/.github/workflows/trigger-preview.yaml b/.github/workflows/trigger-preview.yaml index f94d220a..1a94e5d9 100644 --- a/.github/workflows/trigger-preview.yaml +++ b/.github/workflows/trigger-preview.yaml @@ -9,13 +9,11 @@ on: jobs: find-pull-request: - # uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/find-pull-request.yaml@main - uses: brian-rose/cookbook-actions/.github/workflows/find-pull-request.yaml@find-pr + uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/find-pull-request.yaml@main deploy-preview: needs: find-pull-request if: github.event.workflow_run.conclusion == 'success' - # uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/deploy-book.yaml@main - uses: brian-rose/cookbook-actions/.github/workflows/deploy-book.yaml@find-pr + uses: ProjectPythiaCookbooks/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 @@ -23,8 +21,7 @@ jobs: preview-comment: needs: find-pull-request - # uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/preview-comment.yaml@main - uses: brian-rose/cookbook-actions/.github/workflows/preview-comment.yaml@find-pr + uses: ProjectPythiaCookbooks/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 }}