Skip to content

Commit

Permalink
chore/ci: reply flamegraph URL in pull request (#4793)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Feb 18, 2022
1 parent 860f1bf commit 1b824df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ jobs:
project: ./.tmp-hexo-theme-unit-test/0x/
login: ${{ secrets.SURGE_LOGIN }}
token: ${{ secrets.SURGE_TOKEN }}
- name: Comment PR
uses: marocchino/sticky-pull-request-comment@v2
with:
message: |
Publish flamegraph to https://${{ github.sha }}-${{ matrix.node-version }}-hexo.surge.sh/flamegraph.html
2 changes: 1 addition & 1 deletion .github/workflows/commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
## How to test
```sh
git clone -b ${{ github.head_ref }} https://github.com/${{ github.repository }}.git
git clone -b ${{ github.head_ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git
cd hexo
npm install
npm test
Expand Down

0 comments on commit 1b824df

Please sign in to comment.