How do I automatically deploy?
I have a deployment setup in the site and not in my
appveyor.yml
file. When I build I successfully get
artifacts and I can manually deploy via the website. How do I get
it so that it always deploys after a successful build?
Comments are currently closed for this discussion. You can start a new one.
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 03 Apr, 2015 10:46 PM
You mean you have setup a new environment under "Environments"?
2 Posted by justin on 03 Apr, 2015 11:04 PM
Yeah:

I don't want to have to click that "Update" button I want it to just always deploy based on the deploy environment I created.
3 Posted by justin on 03 Apr, 2015 11:10 PM
Also, I wanted to add that I don't want to put my amazon keys into my repo which is why I can't put it all in the appveyor.yaml config file.
4 Posted by justin on 04 Apr, 2015 01:47 AM
I think I found the answer to this also. The thing that was confusing me is that it seems like you have to either do everything through the web UI or everything through the
appveyor.yaml
file.So the trick is to do the deploy in the
appveryor.yaml
file but instead of putting your keys in plain text go into the encryption tool and encrypt your values. This seems to be working.Then, I used my own deploy script:
justin closed this discussion on 04 Apr, 2015 01:48 AM.