Refactor GitLab CI stages and fix example IP address in CfDnsClient documentation
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ javadoc:
|
|||||||
git commit -m "Update Javadocs [skip ci]"
|
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"
|
||||||
mkdir public
|
[ ! -d public ] && mkdir public || echo "Directory 'public' already exists"
|
||||||
cp -r docs/* public/
|
cp -r docs/* public/
|
||||||
echo "Copied javadoc files to public folder"
|
echo "Copied javadoc files to public folder"
|
||||||
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.8");
|
* RecordEntity created = client.recordCreateSld(zone, "api", 60, RecordType.A, "192.168.1108");
|
||||||
* 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