From 95a465fa9f04c630e112ada456767df0cf7d34dc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 18 Jul 2023 23:39:51 +0200 Subject: workflows/ci: publish stuff to gh-pages --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 731d81c..be9cd45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,12 @@ jobs: name: coverage path: ./build/coverage/ if-no-files-found: error + - name: Publish to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: ./build/coverage/ + target-folder: coverage + if: github.ref == 'refs/heads/master' flame_graphs: runs-on: ubuntu-latest @@ -81,7 +87,7 @@ jobs: echo ~/FlameGraph >> "$GITHUB_PATH" - name: Build run: make install - - name: Generate flame graphs + - name: Generate graphs run: sudo --preserve-env=PATH make test/perf - name: Upload graphs uses: actions/upload-artifact@v3 @@ -89,6 +95,12 @@ jobs: name: flame_graphs path: ./build/flame_graphs/ if-no-files-found: error + - name: Publish to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: ./build/flame_graphs/ + target-folder: flame_graphs + if: github.ref == 'refs/heads/master' publish: needs: [lint, build, coverage] -- cgit v1.2.3