foo-yc20 icon indicating copy to clipboard operation
foo-yc20 copied to clipboard

Deploying built artifacts

Open sampov2 opened this issue 6 years ago • 3 comments

Hi,

Great job on the CI. I'm wondering how we can use the artifacts built by the CI and deploy them somewhere for people to download, test and use?

sampov2 avatar Aug 27 '18 08:08 sampov2

Hi @sampov2

Currently I've made a deployment which has downloadable artifacts at this location. It's my own hosting, I'd prefer if the project has its own.

This is deployment by ssh copy. You can go in the project yourself and change deployment's options. The method is to visit the "environment variables" section. Here there can be set the target hosting, and the ssh key pair. (in base64 encoding on a single line)

deploy

jpcima avatar Aug 27 '18 09:08 jpcima

Would it be possible to set up an upload to github so that the artifacts would be in the project "releases"? There could be a release "latest" which gets updated each time a build is done, and then separate releases for actual version increases.

sampov2 avatar Aug 27 '18 10:08 sampov2

It's an interesting question. The answer would be most likely, as I can find a tool for such a task. gothub :octocat: command-line app to create and edit releases on Github (and upload artifacts)

About maintaining such a thing as a latest release, I am not entirely sure on practicality of such a process, as I've not seen it made in such way before. As creating a release involves a creation of git tags if not existing, it may take a special care to avoid accumulation of useless tags.

jpcima avatar Aug 27 '18 10:08 jpcima