diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 241ad39341..5523260161 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -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 @@ -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