Skip to content

Commit

Permalink
Fix doc push error (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximthomas authored Nov 2, 2024
1 parent 3f88527 commit 6cb9893
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
rm -rf ${REPO_NAME_LC}/modules
cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../doc.openidentityplatform.org/${REPO_NAME_LC}
git add -A
git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
git push --force
if ! git diff-index --quiet HEAD; then
echo "committing changes to the docs repository"
git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
git push --force
fi

0 comments on commit 6cb9893

Please sign in to comment.