Skip to content

Commit 511865b

Browse files
authored
Modify CI workflow for GitHub Pages deployment
Updated GitHub Actions CI workflow to adjust permissions and rename artifact upload step.
1 parent 336ed58 commit 511865b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ jobs:
1515

1616
runs-on: ${{ matrix.os }}
1717
permissions:
18-
deployments: write
19-
contents: write
18+
contents: read
2019
pages: write
2120
id-token: write
21+
22+
23+
environment:
24+
name: github-pages
25+
26+
url: ${{ steps.deployment.outputs.page_url }}
27+
2228

2329
steps:
2430
- name: Checkout Code
@@ -91,10 +97,11 @@ jobs:
9197
- name: Configure Pages Environment
9298
uses: actions/configure-pages@v5 # Sets up necessary environment variables
9399

94-
- name: Upload Pages Artifact
100+
- name: Upload Job Artifacts (Graphs & JSON Download)
95101
uses: actions/upload-pages-artifact@v3
96102
with:
97-
path: gh-pages-output/ # Uploads the folder contents for Pages deployment
103+
name: allocator-benchmark-results
104+
path: gh-pages-output/
98105

99106
- name: Deploy to GitHub Pages
100107
id: deployment

0 commit comments

Comments
 (0)