Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.
/ covid-box Public archive

🦠 Update a gist to contain global or country specific coronavirus stats

License

Notifications You must be signed in to change notification settings

pujux/covid-box

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-Box

🦠 Update a gist to contain global or per country coronavirus stats

covid-box is a GitHub Action that is designed to work using the schedule event.

GitHub Actions status


Setup

Prep work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a personal access token with the gist scope and copy it. (https://github.com/settings/tokens/new)

Project setup

  1. Fork this repository
  2. Go to the repo Settings > Secrets
  3. Add the following environment variables:
    • GH_PAT: The personal access token generated above.
    • GIST_ID: The ID portion from your gist url: https://gist.github.com/puf17640/f091f6edaca9b14d5a149983526feb63.
    • COUNTRY: Specify a country name to show country specific data, if omitted, Global data is shown.
  4. Wait for it to update! 🎉

Credits

This project uses the covidapi npm package to get all the data from NovelCOVID API


Inspired by JasonEtco/activity-box