From 27a109eb35873fb32e03c85c3f3daa9ddd9f0b69 Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Tue, 29 Oct 2024 18:06:58 -0700 Subject: [PATCH 1/6] Update deploy-website.yml --- .github/workflows/deploy-website.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 241ad39341..04765fab82 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -22,6 +22,11 @@ jobs: working-directory: website steps: - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + ref: continuousbenchmark + sparse-checkout: | + website/static/charts - uses: actions/setup-node@v4 with: node-version: 20 From 327390d0bca5d2c48d2b4b66eb81ce19e44c86c4 Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Tue, 29 Oct 2024 18:18:25 -0700 Subject: [PATCH 2/6] Update deploy-website.yml --- .github/workflows/deploy-website.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 04765fab82..a1b7fec38d 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -27,6 +27,10 @@ jobs: ref: continuousbenchmark sparse-checkout: | website/static/charts + path: continuousbenchmark + - run: | + mkdir -p website/static/charts + cp continuousbenchmark/website/static/charts/* website/static/charts - uses: actions/setup-node@v4 with: node-version: 20 From 20b8c6282a72bee48d5d57233cbe3d3a82968710 Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Tue, 29 Oct 2024 18:22:17 -0700 Subject: [PATCH 3/6] Update deploy-website.yml --- .github/workflows/deploy-website.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index a1b7fec38d..297c8bcb35 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -28,9 +28,10 @@ jobs: sparse-checkout: | website/static/charts path: continuousbenchmark - - run: | - mkdir -p website/static/charts - cp continuousbenchmark/website/static/charts/* website/static/charts + - name: Copy charts + run: | + mkdir -p static/charts + cp continuousbenchmark/website/static/charts/* static/charts - uses: actions/setup-node@v4 with: node-version: 20 From 1916839c19a5804620de74b557d9a2902fbe1efb Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Tue, 29 Oct 2024 18:24:11 -0700 Subject: [PATCH 4/6] Update deploy-website.yml --- .github/workflows/deploy-website.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 297c8bcb35..d725885c32 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -31,7 +31,7 @@ jobs: - name: Copy charts run: | mkdir -p static/charts - cp continuousbenchmark/website/static/charts/* static/charts + cp ../continuousbenchmark/website/static/charts/* static/charts - uses: actions/setup-node@v4 with: node-version: 20 From c757510eed674e2b1688c0b01d70a678008a6e41 Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Tue, 29 Oct 2024 18:28:48 -0700 Subject: [PATCH 5/6] Update deploy-website.yml --- .github/workflows/deploy-website.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index d725885c32..660f970bc7 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - continuousbenchmark paths: - '.github/workflows/deploy-website.yml' - 'website/**' @@ -22,6 +23,8 @@ jobs: working-directory: website steps: - uses: actions/checkout@v4 + with: + ref: main - uses: actions/checkout@v4 with: ref: continuousbenchmark From 545ce55152a3333dcb0f6a50a2ec477e187df298 Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Wed, 30 Oct 2024 17:01:07 -0700 Subject: [PATCH 6/6] Update deploy-website.yml --- .github/workflows/deploy-website.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 660f970bc7..5523260161 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -4,13 +4,13 @@ on: push: branches: - main - - continuousbenchmark 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