| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- name: CI
- on:
- push:
- branches: master
- 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/master'
- with:
- path: ./dist
- deploy:
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- 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
|