Skip to content

GH Action to import a Google Calendar into a file on a repo

Notifications You must be signed in to change notification settings

max-mapper/google-calendar-import

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

Repository files navigation

this runs on a cron and gets a google calendars events so you can write them to a github repo as JSON. events will be saved in this format in the file you specify in your config (using name as the unique key):

{
  "events": [
    {
      "name": "National Public Lands Day",
      "date": "2021-09-25T00:00:00.000Z",
      "description": "It's <b>NPLD</b>"
    }
  ]
}

setup

  • create desktop app on google oauth with gcal enabled. create consent screen with your email listed as a test user. download credentials as JSON. run token.js to generate token.json. set credentials and token json env vars on github action.

About

GH Action to import a Google Calendar into a file on a repo

Resources

Stars

Watchers

Forks

Packages

No packages published