chore: update and merge gitignore
This commit is contained in:
23
workflows/epc-oci-i-cultura.yml
Normal file
23
workflows/epc-oci-i-cultura.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: eP Oci i cultura 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/oci-i-cultura/rss.xml ${{ secrets.BSKY_EP_HANDLE }} ${{ secrets.BSKY_EP_USERNAME }} ${{ secrets.BSKY_EP_APP_PASSWORD }}
|
||||
Reference in New Issue
Block a user