修复 手动编辑域名或证书到期时间,天数筛选不匹配的问题 #290
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
# https://github.com/actions/starter-workflows/blob/main/ci/python-publish.yml | |
name: Doc Build | |
on: | |
push: | |
branch: ['master'] | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.7' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r doc/requirements.txt | |
- name: Build and publish | |
run: | | |
cd ./doc && make html && cd ../ | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: doc # The branch the action should deploy to. | |
folder: doc/build/html # The folder the action should deploy. |