Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 81c1c50

Browse files
author
Noah Hanjun Lee
authored
feat: add the pipeline to publish docs (#127)
1 parent bbb75c5 commit 81c1c50

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,24 @@ jobs:
4040
context: .
4141
platforms: linux/amd64 # ,linux/arm64
4242
push: true
43-
tags: ${{ steps.docker_meta.outputs.tags }}
43+
tags: ${{ steps.docker_meta.outputs.tags }}
44+
45+
publish-docs:
46+
runs-on: ubuntu-latest
47+
steps:
48+
-
49+
uses: actions/checkout@v2
50+
-
51+
name: Create requirements.txt
52+
uses: "finnp/create-file-action@master"
53+
env:
54+
FILE_NAME: requirements.txt
55+
FILE_DATA: |
56+
pymdown-extensions==8.2
57+
-
58+
name: Publish docs
59+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
60+
env:
61+
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
62+
CUSTOM_DOMAIN: docs.gitploy.io
63+
REQUIREMENTS: requirements.txt

0 commit comments

Comments
 (0)