Can't find "Enable deployments in Pull Requests" option

ice0's Avatar

ice0

01 Oct, 2020 06:42 AM

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?

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Oct, 2020 04:43 PM

    Feodor Fitsner's Avatar

    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. 2 Posted by ice0 on 01 Oct, 2020 06:07 PM

    ice0's Avatar

    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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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