aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/manual_deploy.yml
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2022-11-07 15:40:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-07 15:40:27 +0000
commit79292f57ff48c15a8413b07520e7b431267962d4 (patch)
tree1a110fa9fa982e746b1969458c5b9d373c70a38c /.github/workflows/manual_deploy.yml
parentf94cfcb46cac5900c86c14ab81db9aac90978889 (diff)
parentd11b75301624f3c59c7243ad1e75243446f5c229 (diff)
downloadmarkdown-79292f57ff48c15a8413b07520e7b431267962d4.tar.gz
Merge "Upgrade markdown to 3.4.1"
Diffstat (limited to '.github/workflows/manual_deploy.yml')
-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