Skip to content

Commit

Permalink
Fix CI deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dlesbre committed Apr 17, 2024
1 parent 833c477 commit 1bbc5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ocaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
git config user.email "${{ github.actor }}@users.noreply.github.com"
git config user.name "${{ github.actor }}"
git add ${{ needs.build-test-doc.outputs.ref }}
if [ -n "$(git diff --cached --quiet --exit-code)" ];
if [ "$(git diff --cached --quiet --exit-code)" ];
then
git commit -m "Deploy ${GITHUB_SHA}"
git push -f "https://${{ github.actor }}:${{ github.token }}@github.com/${{ github.repository }}.git" gh-pages
Expand Down

0 comments on commit 1bbc5c0

Please sign in to comment.