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

Commit 922162ea62c5cea22da5855ee65cbea500342667
Parent: 1f5b566ef5cff43964c4920cb90192a4ef059a88
Author: mcol <mcol@posteo.net>
Date: 2021-11-28 16:38:10 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-28 16:38:10 +0000

Only generate docs on ubuntu CI

.github/workflows/ci.yaml Modified

@@ -37,13 +37,13 @@
         bash test/test.sh
 
     - name: Generate docs
-      if: github.event_name == 'push'
+      if: matrix.os == 'ubuntu-latest' && github.event_name == 'push'
       run: |
         sed -i 's/localhost:8000/gitserve.mcol.xyz/' config.dhall
         stack run -- -c ./config.dhall -q
 
     - name: Deploy docs
-      if: github.event_name == 'push'
+      if: matrix.os == 'ubuntu-latest' && github.event_name == 'push'
       uses: JamesIves/github-pages-deploy-action@4.1.7
       with:
         branch: gh-pages