[add] introduce for hydevcode #88
Workflow file for this run
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: Readthedoc | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
# Runs at 16:00 UTC (BeiJing 00:00) on the 1st of every month | |
schedule: | |
- cron: '0 16 1 * *' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: community_readthedoc | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Install Tools | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo python -m pip install --upgrade pip -qq | |
sudo apt-get install zip | |
pip install sphinx | |
pip install sphinx-autobuild | |
pip install sphinx_rtd_theme | |
pip install recommonmark | |
pip install sphinx_markdown_tables | |
pip install requests -qq | |
- name: build Compile | |
shell: bash | |
run: | | |
make html | |
zip -r -q -o readthedoc.zip build/ | |
ls -la |