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
13 changes: 6 additions & 7 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ on:
jobs:
build:
if: ${{ github.repository_owner == 'ProjectPythia' }}
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

link-check:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
id-token: write
pages: write
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@feat/clinder
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
9 changes: 6 additions & 3 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ 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.

5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

set -eux

exec myst build --execute --site
1 change: 1 addition & 0 deletions myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ project:
tags:
- domain:machine-learning
- package:scikit-learn
- cookbook:build-on-binder
authors:
- name: Project Pythia Community
url: https://projectpythia.org/
Expand Down
Loading