Merge pull request #64 from FinMind/63-新增景氣對策信號 #142
This file contains 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-20.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 dependencies | |
run: | | |
make install-python-evn | |
- name: Generate releaese note | |
run: | | |
pipenv run python gen_release_note.py | |
- name: Build and publish | |
env: | |
FINMIND_DOC_TOKEN: ${{ secrets.FINMIND_DOC_TOKEN }} | |
run: | | |
pipenv run mkdocs build | |
make deploy-github-page |