voila-dashboards / tljh-voila-gallery

Configuration for deploying the Voilà Gallery with The Littlest JupyterHub
BSD 3-Clause "New" or "Revised" License
82 stars 70 forks source link

Add GitHub Actions workflow for auto deployments #81

Closed jtpio closed 5 years ago

jtpio commented 5 years ago

Add a GitHub Actions workflow to automatically deploy the gallery when pushing to master.

This is a very simple fix https://github.com/voila-dashboards/gallery/issues/57, but good enough for now. We can build on top of that afterwards, or even move the deploy script to the voila-gallery.org-deploy repo.

This is what the workflow does:

jtpio commented 5 years ago

@SylvainCorlay @maartenbreddels I need admin access on this repo to add the secrets:

image

jtpio commented 5 years ago

Example runs in this fork PR (used for testing, to be deleted later): https://github.com/jtpio/gallery/pull/1

SylvainCorlay commented 5 years ago

@jtpio you now have admin priviledges to this repository.

jtpio commented 5 years ago

@SylvainCorlay thanks!

jtpio commented 5 years ago

Secrets have been added.

I think we can press the green button and see how it goes.

jtpio commented 5 years ago

As briefly mentioned in the first post of the issue, this is a bit of a "poor man's solution" to doing deployments (SSHing into a machine). But it's a start.

Also to give some context on why using GitHub actions:

jtpio commented 5 years ago

The latest changes (Jupyter logo added last Friday) that were not deployed are now live:

image