Skip to content

GitEvents ICS Generator #1019

GitEvents ICS Generator

GitEvents ICS Generator #1019

Workflow file for this run

name: GitEvents ICS Generator
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: GitEvents ICS Generator
uses: gitevents/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
default-timezone: 'Europe/Athens'
locations: 'locations.json'
- name: update .ics file
run: |
if [[ -n "$(git status --porcelain=v1 2>/dev/null)" ]]
then
git config user.name cdc.cy
git config user.email [email protected]
git add events.ics
git commit events.ics -m "daily calendar update"
git push
fi