Skip to content

Commit bce9211

Browse files
gmarzotclaude
andauthored
perf-test: publish Pages deployment as omoq-sync-bot (#483)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a18b11c commit bce9211

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/perf-test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,5 +290,16 @@ jobs:
290290
name: github-pages
291291
url: ${{ steps.deployment.outputs.page_url }}
292292
steps:
293+
# Create the Pages deployment as the omoq-sync-bot App rather than under
294+
# the personal actor GitHub attributes scheduled runs to. Keeps the
295+
# deployments list owned by the bot, consistent with the rest of the org
296+
# automation. Requires the App installation to have Pages: write.
297+
- uses: actions/create-github-app-token@v2
298+
id: app-token
299+
with:
300+
app-id: ${{ secrets.OMOQ_APP_ID }}
301+
private-key: ${{ secrets.OMOQ_APP_PRIV_KEY }}
293302
- id: deployment
294303
uses: actions/deploy-pages@v4
304+
with:
305+
token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)