Update example IP address in Javadoc and adjust GitLab CI rules

This commit is contained in:
2025-06-09 14:12:35 +02:00
parent f90c9a57fd
commit 0e4d68d719
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -80,7 +80,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 [skip ci]" git commit -m "Update Javadocs"
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"
[ ! -d public ] && mkdir public || echo "Directory 'public' already exists" [ ! -d public ] && mkdir public || echo "Directory 'public' already exists"
@@ -93,5 +93,5 @@ javadoc:
artifacts: artifacts:
paths: paths:
- public - public
rules: only:
- if: '$CI_COMMIT_REF_NAME == "develop"' - develop
@@ -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.2); * RecordEntity created = client.recordCreateSld(zone, "api", 60, RecordType.A, "192.168.3);
* System.out.println("Created Record ID: " + created.getId()); * System.out.println("Created Record ID: " + created.getId());
* </code></pre> * </code></pre>
*/ */