summaryrefslogtreecommitdiffstats
path: root/.github/workflows/publish-docs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/publish-docs.yml')
-rw-r--r--.github/workflows/publish-docs.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml
new file mode 100644
index 0000000..e0135b2
--- /dev/null
+++ b/.github/workflows/publish-docs.yml
@@ -0,0 +1,24 @@
+name: Publish Docs
+
+on:
+ push:
+ branches:
+ - main
+
+permissions:
+ contents: write
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3.3.0
+ - uses: actions/setup-python@v4.6.1
+ with:
+ python-version: 3.11
+
+ - name: Install Hatch
+ run: python -m pip install hatch==1.6.3
+
+ - name: Deploy dev docs
+ run: hatch run docs:mike deploy --force --update-aliases dev \ No newline at end of file