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 40d53e9 commit cddede2Copy full SHA for cddede2
.github/workflows/deploy.yml
@@ -136,5 +136,8 @@ jobs:
136
rm -rf ${REPO_NAME_LC}/modules
137
cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../doc.openidentityplatform.org/${REPO_NAME_LC}
138
git add -A
139
- git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
140
- git push --force https://github.com/OpenIdentityPlatform/doc.openidentityplatform.org.git
+ if ! git diff-index --quiet HEAD; then
+ echo "committing changes to the docs repository"
141
+ git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
142
+ git push --force https://github.com/OpenIdentityPlatform/doc.openidentityplatform.org.git
143
+ fi
0 commit comments