Fix Javadoc update commit message and adjust stage definition in GitLab CI pipeline
This commit is contained in:
+4
-2
@@ -55,7 +55,9 @@ sonarcloud_scan:
|
||||
- develop
|
||||
|
||||
pages:
|
||||
stage: on_commit
|
||||
stage:
|
||||
- on_commit
|
||||
- deploy_pages
|
||||
script:
|
||||
- echo "Deploying GitLab Pages from docs/"
|
||||
- mkdir public
|
||||
@@ -80,7 +82,7 @@ javadoc:
|
||||
- |
|
||||
if ! git diff --quiet -- docs/apidocs; then
|
||||
git add docs/apidocs
|
||||
git commit -m "Update Javadocs"
|
||||
git commit -m "Update Javadocs [skip ci]"
|
||||
git push https://${GITLAB_USERNAME}:${CI_PUSH_TOKEN}@gitlab.com/th-schwarz/CloudflareDNS-java.git ${CI_COMMIT_REF_NAME}
|
||||
- echo "Commits found and pushed"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user