Skip to content

Commit

Permalink
Actual fix I forgot to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dlesbre committed Apr 17, 2024
1 parent 1bbc5c0 commit 41f52e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ocaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ 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 [ "$(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
else
echo "No changes to push"
fi

0 comments on commit 41f52e1

Please sign in to comment.