chore: update and merge gitignore

This commit is contained in:
Guillem Hernandez Sola
2026-03-29 17:44:14 +02:00
commit 57bf1aab81
57 changed files with 3124 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
name: eP Terrassa Post RSS to BSKY
description: "A GitHub Action to post RSS feed items to Bluesky (BSKY) using a Python script."
on:
workflow_dispatch:
schedule:
- cron: '*/36 * * * *' # every 36 minutes
jobs:
post:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install atproto fastfeedparser beautifulsoup4 httpx arrow charset-normalizer
- name: Run script
run: |
python3 rss2bsky.py https://www.elperiodico.cat/ca/rss/terrassa/rss.xml ${{ secrets.BSKY_EP_HANDLE }} ${{ secrets.BSKY_EP_USERNAME }} ${{ secrets.BSKY_EP_APP_PASSWORD }}