CI/CD related question #2995
-
Hello! I would like to ask what is behind /deploypr command that can be seen in opened PR. It looks promising and I will be grateful for more details. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! its nothing fancy, just a normal CICD flow of build and deployment. https://github.com/Stirling-Tools/Stirling-PDF/blob/main/.github/workflows/PR-Demo-Comment.yml We have it build to a public test repository in docker and then our VPS just grabs and runs it |
Beta Was this translation helpful? Give feedback.
Hey! its nothing fancy, just a normal CICD flow of build and deployment.
Since its public github we cant avoid bad actors raising a PR with malicious code which means we shouldn't deploy anything automatically so instead we have a GHA event for comments and certain users are allowed to run this deploy command to validate the PR
https://github.com/Stirling-Tools/Stirling-PDF/blob/main/.github/workflows/PR-Demo-Comment.yml
We have it build to a public test repository in docker and then our VPS just grabs and runs it