Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy CI benchmark charts into website publishing action #759

Merged
merged 7 commits into from
Oct 31, 2024
Merged
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: 16 additions & 3 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:
paths:
- '.github/workflows/deploy-website.yml'
- 'website/**'
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

workflow_run:
workflows: [Garnet CI BDN.benchmark]
types:
- completed
permissions:
contents: write

Expand All @@ -22,6 +23,18 @@ jobs:
working-directory: website
steps:
- uses: actions/checkout@v4
with:
ref: main
- uses: actions/checkout@v4
with:
ref: continuousbenchmark
sparse-checkout: |
website/static/charts
path: continuousbenchmark
- name: Copy charts
run: |
mkdir -p static/charts
cp ../continuousbenchmark/website/static/charts/* static/charts
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down