Add deploy.yml
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 2 Mar 2021 10:36:56 +0000 (11:36 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 2 Mar 2021 10:37:20 +0000 (11:37 +0100)
.github/workflows/deploy.yml [new file with mode: 0644]

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644 (file)
index 0000000..ccbab76
--- /dev/null
@@ -0,0 +1,24 @@
+name: Deploy
+
+on:
+  push:
+
+jobs:
+  deploy:
+    name: Deploy
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-python@v1
+        with:
+          python-version: '3.x'
+      - run: pip3 install -r requirements.txt
+      - name: Prepare git
+        run: |
+          git config user.name "WoltLab GmbH"
+          git config user.email "woltlab@woltlab.com"
+      - name: Deploy documentation
+        run: |
+          mike deploy 5.4
+          git status
+          git log gh-pages