Files
ufc-cal/.github/workflows/main.yml
T
2023-09-13 20:46:16 -04:00

27 lines
646 B
YAML

name: GitHub Self-Updating Repository
on:
push:
schedule:
- cron: "37 */4 * * *"
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
# https://github.com/actions/checkout/tree/v3.0.2
uses: actions/checkout@v4
with:
ref: ics
- name: Create UFC.ics
run: |
npm start
- name: Push to repository
run: |
git config --global user.name "Clarence Chan"
git config --global user.email "[email protected]"
git add UFC.ics
git commit -m "Update UFC.ics"
git push -u origin ics