From 49420d7fdfb477ebbd8aa1464a467d9ea5e91579 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Sun, 15 Dec 2024 08:28:31 -0700 Subject: [PATCH] trying to deploy coverage report to github pages --- .github/workflows/developer.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/developer.yml b/.github/workflows/developer.yml index e183fca8..b252203f 100644 --- a/.github/workflows/developer.yml +++ b/.github/workflows/developer.yml @@ -101,6 +101,9 @@ jobs: mkdir ~/data cp $GITHUB_WORKSPACE/g2/build/tests/data/* ~/data + - name: Setup Pages + if: matrix.config == 'code_coverage' + uses: actions/configure-pages@v2 - name: upload-test-coverage if: matrix.config == 'code coverage' uses: actions/upload-artifact@v4 @@ -109,3 +112,15 @@ jobs: path: | g2/build/*.html g2/build/*.css + uses: actions/upload-pages-artifact@v1 + with: + # Upload the coverage directory from the repository + path: | + path: | + g2/build/*.html + g2/build/*.css + - name: Deploy to GitHub Pages + if: matrix.config == 'docs' + id: deployment + uses: actions/deploy-pages@v1 +