Merge pull request #110 from FinMind/feature/taiwan-stock-loan-collat… #223
This file contains hidden or 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: Upload FinMind Python Package Doc | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| python-version: [ "3.10" ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| run: | | |
| uv sync | |
| - name: Generate releaese note | |
| run: | | |
| uv run python gen_release_note.py | |
| - name: Build and publish | |
| env: | |
| FINMIND_DOC_TOKEN: ${{ secrets.FINMIND_DOC_TOKEN }} | |
| run: | | |
| uv run mkdocs build | |
| make deploy-github-page |