There was an error while loading. Please reload this page.
1 parent a18b11c commit bce9211Copy full SHA for bce9211
1 file changed
.github/workflows/perf-test.yml
@@ -290,5 +290,16 @@ jobs:
290
name: github-pages
291
url: ${{ steps.deployment.outputs.page_url }}
292
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 }}
302
- id: deployment
303
uses: actions/deploy-pages@v4
304
305
+ token: ${{ steps.app-token.outputs.token }}
0 commit comments