Skip to content

GitEvents ICS Generator #899

GitEvents ICS Generator

GitEvents ICS Generator #899

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/ics@v1.3.3
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 ics@cdc.cy
git add events.ics
git commit events.ics -m "daily calendar update"
git push
fi