fix: Another path fix

This commit is contained in:
Piotr Dec 2026-04-14 03:44:13 +02:00
parent 3224f8cfca
commit ce74860ca3
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0

View file

@ -40,7 +40,7 @@ class ReloadService:
ref=head.branch, ref=head.branch,
message=f"Manual reload of {event.service}", message=f"Manual reload of {event.service}",
started=int(datetime.now().timestamp()), started=int(datetime.now().timestamp()),
files=[f"compose/{event.service}/docker-compose.yml"] + [str(pp) for pp in mos] files=[f"compose/{event.service}/docker-compose.yml"] + [str(pp).replace(str(self.root_path), '') for pp in mos]
) )
logger.debug(f"Sending <WoodpeckerEvent commit={we.commit} ref={we.ref} message={we.message} started={we.started} files={we.files}") logger.debug(f"Sending <WoodpeckerEvent commit={we.commit} ref={we.ref} message={we.message} started={we.started} files={we.files}")
await self._bus.dispatch(we) await self._bus.dispatch(we)