Skip to content

Commit 1ee187c

Browse files
committed
rm metrics actions
1 parent e100ed6 commit 1ee187c

13 files changed

+99
-569
lines changed

.github/workflows/get-metrics.py

Lines changed: 0 additions & 309 deletions
This file was deleted.

.github/workflows/nightly-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: nightly-build
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '0 0 * * *' # Daily “At 00:00”
6+
- cron: "0 0 * * *" # Daily “At 00:00”
77

88
jobs:
99
build:

.github/workflows/publish-site.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: publish-site
2+
3+
on:
4+
# Trigger the workflow on push to main branch
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
13+
14+
deploy:
15+
needs: build
16+
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main

.github/workflows/trigger-link-check.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ on:
44

55
jobs:
66
link-check:
7-
uses: ./.github/workflows/sphinx-link-checker.yaml
8-
with:
9-
path_to_source: 'portal'
7+
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main

.github/workflows/trigger-preview.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,22 @@ name: trigger-preview
22
on:
33
workflow_run:
44
workflows:
5-
- trigger-site-build
5+
- trigger-book-build
66
types:
77
- requested
88
- completed
99

1010
jobs:
1111
find-pull-request:
1212
uses: ProjectPythia/cookbook-actions/.github/workflows/find-pull-request.yaml@main
13-
1413
deploy-preview:
1514
needs: find-pull-request
1615
if: github.event.workflow_run.conclusion == 'success'
1716
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
1817
with:
1918
artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }}
20-
destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number
21-
is_preview: 'true'
22-
publish_dir: 'portal/_build/html'
19+
destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number
20+
is_preview: "true"
2321

2422
preview-comment:
2523
needs: find-pull-request

0 commit comments

Comments
 (0)