name: CI on: push: branches: main pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: lycheeverse/lychee-action@v2 with: args: --verbose --no-progress --accept 200,429 README.md fail: true - uses: actions/setup-python@v5 with: python-version: "3.14" - run: python .github/api.py - uses: actions/upload-pages-artifact@v3 if: github.event_name == 'push' && github.ref == 'refs/heads/main' with: path: ./dist deploy: if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: build permissions: pages: write id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - uses: actions/deploy-pages@v4 id: deployment