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
|
- develop
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: on_commit
|
stage:
|
||||||
|
- on_commit
|
||||||
|
- deploy_pages
|
||||||
script:
|
script:
|
||||||
- echo "Deploying GitLab Pages from docs/"
|
- echo "Deploying GitLab Pages from docs/"
|
||||||
- mkdir public
|
- mkdir public
|
||||||
@@ -80,7 +82,7 @@ javadoc:
|
|||||||
- |
|
- |
|
||||||
if ! git diff --quiet -- docs/apidocs; then
|
if ! git diff --quiet -- docs/apidocs; then
|
||||||
git add docs/apidocs
|
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}
|
git push https://${GITLAB_USERNAME}:${CI_PUSH_TOKEN}@gitlab.com/th-schwarz/CloudflareDNS-java.git ${CI_COMMIT_REF_NAME}
|
||||||
- echo "Commits found and pushed"
|
- echo "Commits found and pushed"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
* System.out.println("Record Type: " + record.getType() + ", Value: " + record.getContent())
|
* System.out.println("Record Type: " + record.getType() + ", Value: " + record.getContent())
|
||||||
* );
|
* );
|
||||||
* // Create a record for the subdomain "api"
|
* // Create a record for the subdomain "api"
|
||||||
* RecordEntity created = client.recordCreateSld(zone, "api", 60, RecordType.A, "192.168.1.3");
|
* RecordEntity created = client.recordCreateSld(zone, "api", 60, RecordType.A, "192.168.1.4");
|
||||||
* System.out.println("Created Record ID: " + created.getId());
|
* System.out.println("Created Record ID: " + created.getId());
|
||||||
* </code></pre>
|
* </code></pre>
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user