Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/on-preview-book.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: on-preview-book
on:
workflow_run:
workflows:
- preview-book
types:
- requested
- completed

jobs:
find-pull-request:
uses: ProjectPythia/cookbook-actions/.github/workflows/find-pull-request.yaml@feat/clinder

preview-comment:
needs: find-pull-request
uses: ProjectPythia/cookbook-actions/.github/workflows/preview-comment.yaml@feat/clinder
with:
pull_request_number: ${{ needs.find-pull-request.outputs.number }}
sha: ${{ needs.find-pull-request.outputs.sha }}
8 changes: 8 additions & 0 deletions .github/workflows/preview-book.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: preview-book

on:
pull_request:

jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@feat/clinder
8 changes: 6 additions & 2 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on:

jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@feat/clinder

deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
id-token: write # to verify the deployment originates from an appropriate source
pages: write
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@feat/clinder
11 changes: 0 additions & 11 deletions .github/workflows/trigger-book-build.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/trigger-delete-preview.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ extends:
- https://raw.githubusercontent.com/projectpythia/pythia-config/main/pythia.yml
project:
title: Project Pythia Cookbook Template
thumbnail: ./thumbnails/thumbnail.png
tags:
- domain:sampledomain
- package:samplepackage
- cookbook:build-on-binder
github: https://github.com/projectpythia/cookbook-template
authors:
- name: The Project Pythia Community
url: https://projectpythia.org
copyright: '2024'
toc:
- file: README.md
Expand Down
Loading