Skip to content

Commit

Permalink
Copy CI benchmark charts into website publishing action (#759)
Browse files Browse the repository at this point in the history
* Update deploy-website.yml

* Update deploy-website.yml

* Update deploy-website.yml

* Update deploy-website.yml

* Update deploy-website.yml

* Update deploy-website.yml
  • Loading branch information
badrishc authored Oct 31, 2024
1 parent d7ad0eb commit 545ff8e
Showing 1 changed file with 16 additions and 3 deletions.
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

0 comments on commit 545ff8e

Please sign in to comment.