🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit ab15b1d616db83b073ae57ca82ea52ba4a420623
Parent: 033fc0b0dec153a3e05760ae9a5392997bba581b
Author: mcol <mcol@posteo.net>
Date: 2021-11-28 16:02:14 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-28 16:02:14 +0000

add CI step to deplay to gh-pages branch

.github/workflows/ci.yaml Modified

@@ -36,6 +36,13 @@
       run: |
         bash test/test.sh
 
-    - name: Test docs generation
+    - name: Generate docs
       run: |
-        stack run -- -c ./config.dhall
+        stack run -- -c ./config.dhall -q
+
+    - name: Deploy docs
+      if: github.event_name == 'push'
+      uses: JamesIves/github-pages-deploy-action@4.1.7
+      with:
+        branch: gh-pages
+        folder: output