Fix cleanup with correct user and permissions
All checks were successful
Jekyll / jekyll (pull_request) Successful in 51s
Jekyll cleanup / jekyll_cleanup (pull_request) Successful in 14s

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
Benoit Donneaux 2025-08-15 10:57:01 +02:00
parent 57fc413c73
commit e8b9da7b6c

View file

@ -7,14 +7,14 @@ on:
env: env:
WEB_HOST: webforge.of.tahoe-lafs.org WEB_HOST: webforge.of.tahoe-lafs.org
WEB_USER: www WEB_USER: bot-www
WEB_ROOT: /var/www/preview WEB_ROOT: /var/www/preview
WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/" WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/"
jobs: jobs:
jekyll_cleanup: jekyll_cleanup:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
pull-requests: write pull-requests: read
actions: read actions: read
contents: read contents: read
steps: steps: