CI: restrict deployment only to push events on master #3

Open
opened 2022-04-17 13:34:29 +00:00 by realaravinth · 3 comments

Currently deployment steps are also run on PRs, which are failing because Woodpecker secrets are configured to be available only on pushes.

Currently deployment steps are also run on [PRs](https://gitea.hostea.org/Hostea/website/pulls/2), which are failing because Woodpecker secrets are configured to be available only on pushes.
realaravinth self-assigned this 2022-04-17 13:34:29 +00:00

Is it enough to just untick this checkbox?

image

Is it enough to just untick [this checkbox](https://woodpecker.hostea.org/Hostea/website/settings)? ![image](/attachments/46296bb2-5486-48aa-b397-7069f7053f04)

That would disable CI entirely on pull requests, which means we won't be able to check if the changes proposed build successfully. Only the deployment step needs to be disabled for pull requests, I believe there are provisions to do that with Woodpecker.

That would disable CI entirely on pull requests, which means we won't be able to check if the changes proposed build successfully. Only the deployment step needs to be disabled for pull requests, I believe there are provisions to do that with Woodpecker.

Ah, dang, sorry I misunderstood the problem.

Ah, dang, sorry I misunderstood the problem.
dachary added the
Bug
label 2022-05-10 08:21:52 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hostea/website#3
There is no content yet.