]> Nishi Git Mirror - gwion.git/commitdiff
branch
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 16 Jan 2020 23:05:23 +0000 (00:05 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 16 Jan 2020 23:05:23 +0000 (00:05 +0100)
.github/workflows/build.yml

index e2026ee5702f5dfb3cae6bf28c7444f844ad466b..252cac13bd02428a6b4b4527fa8a0bc8c73dd4b8 100644 (file)
@@ -38,10 +38,10 @@ jobs:
         export PATH=~/.cabal/bin:$PATH
         export PATH=./Gwion:$PATH
         make build
-        git branch -r | grep gh-pages && git push origin :gh-pages || true
         git config --local user.email "action@github.com"
         git config --local user.name "GitHub Action"
         git add -f book
         git commit -m "add book"
         git remote set-url origin https://${{ secrets.GWION_TOKEN }}@github.com/fennecdjay/Gwion.git
+        git push origin :gh-pages || true
         git subtree push --prefix book origin gh-pages