Skip to content

ci: fix flamegraph preview publishing#5773

Open
uiolee wants to merge 3 commits into
masterfrom
fix/flamegraph_publish
Open

ci: fix flamegraph preview publishing#5773
uiolee wants to merge 3 commits into
masterfrom
fix/flamegraph_publish

Conversation

@uiolee
Copy link
Copy Markdown
Member

@uiolee uiolee commented May 7, 2026

What does it do?

since github action security policy strengthen, secrets could not be accessed in workflow 'on.pull_request'.

  • refact workflow publishing flamegraph to surge
    • publish PR's flamegraph to surge via trigger 'on.workflow_run'.
    • redesign projects' file structure and domain to reduce the usage of surge's projects.
      Previously one sha occupy 3 projects. Now one sha occupy 1 project (in main branch) or one PR occupy 1 project (in PR)
    • use environment to strengthen secrets' security.

Screenshots

Pull request tasks

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

How to test

git clone -b fix/flamegraph_publish https://github.com/hexojs/hexo.git
cd hexo
npm install
npm test

@uiolee uiolee changed the title ci: refact flamegraph preview publishing ci: fix flamegraph preview publishing May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant