Free yourself from manual work by leveraging the power of GitHub Actions!

_This post is __part 4 _of a series of 4 publications [Project repo]**:**

  • Refer to part 1 for an overview of the series,
  • part 2_ for an explanation of the data sources and minor data cleaning,_
  • part 3_ for the creation of the visualisations, building the report and the deploy the document into ShinyApps.io and_
  • part 4_ for automatic data update, compilation and publishing of the report._

Each article in the series is self-contained, meaning that you don’t need to read the whole series to make the most out of it.

Table of Content

·  Introduction

·  Pipeline building blocks — Steps

∘  Structure of a Github Action .yml file

∘  Setup repo, R and pandoc

∘  Install dependencies

∘  Report steps — update data, run scripts, publish

∘  Publishing and secret tokens

·  When to run the pipeline — Trigger

∘  At event

∘  On schedule — using cron

·  Making your pipeline even better — Extras

∘  Cache dependencies

∘  Committing back the latest changes to your repo

#github-actions #github #automation

Automating A COVID19 Report Update and Publishing with GitHub Actions
1.15 GEEK