Files
awesome-quant/.github/workflows/build.yml
T
Wilson Freitas 5a6f90cc85 Replace Quarto site with static HTML generator
- Add site/generate.py: static site with search, filtering, sorting, dark mode
- Add site/static/style.css and main.js for the new frontend
- Extend parse.py: fetch CRAN published dates, PyPI release dates, and
  discover GitHub repos from CRAN pages as fallback data sources
- Migrate from Poetry to uv (pyproject.toml + uv.lock)
- Update CI workflow to use uv and generate.py pipeline
- Add CONTRIBUTING.md with entry format guidelines
- Add "Submit a Project" button to site nav
- Update review-pr skill with all accepted entry formats
- Update CLAUDE.md to reflect new architecture
- Remove Quarto files (_quarto.yml, *.qmd, sync-site skill, poetry.lock)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 18:13:55 -03:00

41 lines
869 B
YAML

name: Update site
on:
schedule:
- cron: "0 1 * * *"
push:
branches: [ main ]
paths:
- 'README.md'
- 'parse.py'
- 'site/**'
concurrency:
group: build-and-deploy
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
uv sync --no-install-project
- name: Run parser
run: |
export GITHUB_ACCESS_TOKEN=${{ secrets.GITHUB_TOKEN }}
uv run python parse.py
- name: Generate site
run: |
uv run python site/generate.py
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site