chinese-holidays-calendar/.github/workflows/ics.yml
2022-03-02 02:39:33 +08:00

27 lines
538 B
YAML

name: ICS Generator
on:
pull_request:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Run generator
run: date +%s > ./docs/index.html
- uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: docs/*.html
commit_message: generate .ics file automatically
commit_user_name: bugstep
commit_user_email: github@isaacx.com