Skip to content

.github/workflows/reader.yml #305

.github/workflows/reader.yml

.github/workflows/reader.yml #305

Workflow file for this run

on:
push:
branches:
- main
schedule:
- cron: '13 12 * * 0' # https://crontab.guru/#13_12_*_*_0 -> At 12:13 on Sunday
jobs:
gh-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install Nim
uses: iffy/install-nim@v3
- name: install dependencies
run: nimble install -y nimib puppy rss
- name: gather feeds and create reader page
run: nim r -d:release index --nbFilename:docs/index.html
- name: publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs