We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f88527 commit 6cb9893Copy full SHA for 6cb9893
.github/workflows/deploy.yml
@@ -103,6 +103,8 @@ jobs:
103
rm -rf ${REPO_NAME_LC}/modules
104
cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../doc.openidentityplatform.org/${REPO_NAME_LC}
105
git add -A
106
- git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
107
- git push --force
108
-
+ 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 }}"
109
+ git push --force
110
+ fi
0 commit comments