Create publish.yml

This commit is contained in:
Fabrice Lamant
2024-07-12 19:33:12 +01:00
committed by GitHub
parent ba9a6b33c4
commit da0ffc9d11

24
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Auto update calendar
on:
push:
branches:
- 'main'
schedule:
- cron: "0, */1 * * *"
jobs:
run:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install
- run: npm start
- uses: stefanzweifel/git-auto-commit-action@v5