RPA.Email.ImapSmtp
Fix how email recipients are handled and improve…
#792
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: docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- "pyproject.toml" | |
- "poetry.lock" | |
- "docs/source/**" | |
- ".github/workflows/docs.yaml" | |
- "packages/main/README.rst" | |
jobs: | |
publish: | |
runs-on: windows-latest | |
env: | |
SETUPTOOLS_USE_DISTUTILS: stdlib | |
INVOKE_IS_CI_CD: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.9" | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install poetry | |
run: pip install poetry | |
- name: Get python version | |
id: full-python-version | |
shell: bash | |
run: | | |
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info[:3]))") | |
- name: Set up cache | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }} | |
- name: Install invoke | |
run: pip install -U "invoke>=1.6.0,<2.0.0" | |
- name: Install invocation package | |
run: invoke install-invocations | |
- name: Install dependencies | |
run: invoke install | |
- name: Build HTML documentation | |
run: invoke docs | |
- name: Publish HTML documentation | |
if: success() | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_branch: gh-pages | |
publish_dir: docs/build/html/ | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
cname: rpaframework.org |