summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-10-19 14:30:43 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2020-10-19 14:40:45 -0400
commit56b03b21f50d2b28b7ab87df7d8015e1f1b62184 (patch)
tree2a414f38bb6c1cc7d405330f853e47fad2d2c603 /.github
parent2766698ac88ae9218d41b3ca1d9fbd4b4bd105e5 (diff)
downloadpython-markdown-56b03b21f50d2b28b7ab87df7d8015e1f1b62184.tar.gz
Bump version to 3.3.23.3.2
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/manual_deploy.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/manual_deploy.yml b/.github/workflows/manual_deploy.yml
new file mode 100644
index 0000000..b2ce06b
--- /dev/null
+++ b/.github/workflows/manual_deploy.yml
@@ -0,0 +1,30 @@
+name: manual deploy
+
+on:
+ workflow_dispatch
+
+jobs:
+
+ ghpages:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: 3.7
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip setuptools
+ python -m pip install -r doc-requirements.txt
+ - name: Build
+ run: |
+ python -m mkdocs build --clean --verbose
+ - name: Publish
+ if: success()
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ deploy_key: ${{ secrets.PAGES_DEPLOY_KEY }}
+ external_repository: Python-Markdown/Python-Markdown.github.io
+ publish_branch: master
+ publish_dir: ./site