You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
Copy file name to clipboardExpand all lines: .github/workflows/benchmarkjs.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,7 @@ jobs:
19
19
name: Benchmark.js Benchmark
20
20
tool: 'benchmarkjs'
21
21
output-file-path: examples/benchmarkjs/output.txt
22
-
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
Copy file name to clipboardExpand all lines: .github/workflows/go.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,7 @@ jobs:
19
19
name: Go Benchmark
20
20
tool: 'go'
21
21
output-file-path: examples/go/output.txt
22
-
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
Copy file name to clipboardExpand all lines: .github/workflows/pytest.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,7 @@ jobs:
22
22
name: Python Benchmark with pytest-benchmark
23
23
tool: 'pytest'
24
24
output-file-path: examples/pytest/output.json
25
-
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
Copy file name to clipboardExpand all lines: .github/workflows/rust.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,7 @@ jobs:
19
19
name: Rust Benchmark
20
20
tool: 'cargo'
21
21
output-file-path: examples/rust/output.txt
22
-
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false
Second, you need to [create a personal access token][help-personal-access-token]. As of now,
222
-
[deploying a GitHub Pages branch fails with `$GITHUB_TOKEN` automatically generated for workflows](https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869).
223
-
`$GITHUB_TOKEN`can push a branch to remote, but building GitHub Pages fails. Please read
224
-
[issue #1](https://github.com/rhysd/github-action-benchmark/issues/1) for more details.
225
-
This is a current limitation only for public repositories. For private repository, `secrets.GITHUB_TOKEN`
226
-
is available. In the future, this issue would be resolved and we could simply use `$GITHUB_TOKEN` to
227
-
deploy a GitHub Pages branch.
228
-
229
-
1. Go to your user settings page
230
-
2. Enter 'Developer settings' tab
231
-
3. Enter 'Personal access tokens' tab
232
-
4. Click 'Generate new token' and enter your favorite token name
233
-
5. Check `repo` scope for `git push` and click 'Generate token' at bottom
234
-
6. Go to your repository settings page
235
-
7. Enter 'Secrets' tab
236
-
8. Create new `PERSONAL_GITHUB_TOKEN` secret with a generated token string
237
-
238
-
Now you're ready for workflow setup.
219
+
Now, for the workflow setup.
239
220
240
221
```yaml
241
222
jobs:
@@ -255,8 +236,7 @@ jobs:
255
236
name: My Project Go Benchmark
256
237
tool: 'go'
257
238
output-file-path: output.txt
258
-
# Personal access token to deploy GitHub Pages branch
0 commit comments