GHA and Shiny

Github Actions for auto-deployment of shiny apps on shinyapps.io
CICD
Github Actions
Shiny
Published

March 13, 2023

This was a fun πŸ€“ experiment to build the intuition of using Github Actions (GHA) to automate β€œthings”. In this case, I use GHA to auto-deploy a shiny app to my personal shinyapps.io account.

In a nutshell, it works like this:

Pretty neat!

img

In order to test whether GHA was working, the sample app I created is a super-simple dashboard πŸ“ˆπŸ“‰πŸ“Š that takes a single reactive: the date and time of deployment ⏰. There are other, more informative ways to monitor their progress and I will be covering this and more in depth in my Quarto use-case write up πŸ’¬. Stay tuned!

For now, I want to make this available as it reflects a recent learning and a pattern I can see myself reusing in the future. Many thanks to the following people + resources πŸ’ͺπŸ’ͺπŸ’ͺ

Till next time, 🍻!