RSS Archiver #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RSS Archiver | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' # 每周日午夜运行 | |
jobs: | |
archive: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install wordpress-rss-archiver | |
- name: Run archiver | |
env: | |
IA_S3: ${{ secrets.IA_S3 }} | |
run: | | |
wordpress-rss-archiver https://lmmsoft.github.io/feed.atom --ia-s3 $IA_S3 |