Can't find "Enable deployments in Pull Requests" option
Hi!
I am currently trying to allow deploy for PR builds.
Documentation says (https://www.appveyor.com/docs/deployment/):
Deployments, before_deploy and after_deploy scripts are disabled by default on Pull Requests. Deployments on Pull Requests can be enabled with Enable deployments in Pull Requests UI-only checkbox in the General project settings tab.
But I can't find such an option :(
Is it deleted or am I looking in the wrong place?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 01 Oct, 2020 04:43 PM
That option is available for private projects only. Could you please elaborate on your use case - why would you do deployment on potentially insecure PRs?
2 Posted by ice0 on 01 Oct, 2020 06:07 PM
In our case, we have Windows users and developers who mainly use Linux system. We want to give the users the opportunity to download and test the application from the PR build before merging the changes.
But that was before I read about PR security issues and how you solve them using the artifacts tab in the build job.
Nice and clean solution, thanks guys!
So, the last question I have - is it possible to reduce the storage time of artifacts (just to not to waste disk space). We only want to use it for testing, so one week will be more than enough.