Deploying Files Only

Dave's Avatar

Dave

18 Nov, 2015 11:07 PM

Im trying to deploy php files to a linux VM. The logic seems simple but I seem to be missing something along line. I have a bitbucket repository, and everything(Files/Folders) within that repository I want to deploy the VM (maintaining the File structure). I have an envronment set up. The hook to my bitbucket repository is set up and added an application (with the name of my source repo) to the deployment settings but get no artifacts. Using this as a reference http://help.appveyor.com/discussions/questions/809-just-copying-files-and-folders-no-build

Any help will be greatly appreciated.

  1. Support Staff 1 Posted by Feodor Fitsner on 18 Nov, 2015 11:14 PM

    Feodor Fitsner's Avatar

    To put entire repo to a zip and upload it as artifact:

    build_script:
    - 7z a myapp.zip %APPVEYOR_BUILD_FOLDER%\*
    - appveyor PushArtifact myapp.zip
    
  2. 2 Posted by Dave on 19 Nov, 2015 12:21 AM

    Dave's Avatar

    Is compressing compulsory or can I publish without compressing?

  3. Support Staff 3 Posted by Feodor Fitsner on 19 Nov, 2015 12:32 AM

    Feodor Fitsner's Avatar

    If you are going to use built-in FTP deployment provider then it deploys from artifact (zip package) only. If you can use some sort of command-line FTP or anything else then you can skip creating artifact.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.

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