How to choose files to deploy to S3
I have artifacts created after builds on Appveyor, but for S3 deployment, I haven't got it to work yet. I wonder if I am not specifying the file name correctly to upload. I attached a screenshot of the artifacts for one project.
I only want the .zip file deployed to S3. Either in the `appveyor.yml` file or in the Settings tab for the project, I need to set what artifact to deploy, but the file name will change as a version number is associated with the file name and can change often. Any help appreciated!
Thanks! Scott
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 05 Mar, 2015 08:32 PM
Hi Scott,
Give it unique "deployment name" and then refer it in "artifact" setting of S3 deployment provider.
-Feodor
2 Posted by Scott Chamberla... on 05 Mar, 2015 08:53 PM
Hi Feodor,
Thanks for that. I did give it a unique name ("zip"), rebuilt the commit, artifacts were created, but it didn't end up in S3. Looking at the Deployments tab, i get the following screenshot
But the bucket is not named "windowsbinaries", but instead "ropensci-windows", and I put in the "Artifcats" box in the settings to upload artifact named "zip" only (see other screenshot)
Scott
Support Staff 3 Posted by Feodor Fitsner on 05 Mar, 2015 09:02 PM
You are deploying to "windowsbinaries" environment. Could you drop a full screenshot of its settings?
-Feodor
4 Posted by Scott Chamberla... on 05 Mar, 2015 09:37 PM
Hi, I can't find the "windowsbinaries" environment. I don't remember ever creating that. Here is what I have in Environments tab in Settings for the project.
Scott
Support Staff 5 Posted by Feodor Fitsner on 05 Mar, 2015 09:46 PM
It's Environments in the main top menu.
-Feodor
6 Posted by Scott Chamberla... on 06 Mar, 2015 12:18 AM
Thanks! Forgotten about that Environment tab. What is the relationship between the global Environments tab on the main top menu and the Deployments for each project? It seems that when I didn't have settings for deployments set up for a single project in its settings, or via
appveyor.yaml
, it didn't deploy even though deploy settings were there for in the main top menu. So is it right that deploy settings need to be set for each project even if set in the main top menu?Thanks! Scott
Support Staff 7 Posted by Feodor Fitsner on 06 Mar, 2015 01:23 AM
Maybe this section could shed some light: http://www.appveyor.com/docs/deployment#overview
Let me know if you have any questions.
-Feodor
8 Posted by Scott Chamberla... on 07 Apr, 2015 01:48 PM
Thanks very much.
Scott Chamberlain closed this discussion on 07 Apr, 2015 01:49 PM.