Github action script for executing RSS generation

This commit is contained in:
2024-05-13 22:02:32 +02:00
parent b40fc13c96
commit 012aac8004

28
.github/workflows/update-rss.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Run script generating new RSS file
on:
push:
branches:
- main
- ci/test
schedule:
- cron: "0 0 * * *" # Run every day at midnight
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '21'
- name: Run Script
run: node run.js
- name: List Directory
run: ls -l