Update .gitlab-ci.yml file

This commit is contained in:
2025-04-01 15:47:43 +00:00
parent 84593da57e
commit e0bbc62183
+2 -6
View File
@@ -1,12 +1,8 @@
stages:
- sync
variables:
GIT_STRATEGY: none
# Define job to clone GitHub repository
clone_source:
stage: sync
clone_source_daily:
# Use an appropriate GitLab runner image
image: alpine/git
script:
@@ -14,5 +10,5 @@ clone_source:
- git clone https://th-schwarz:$GITHUB_PERSONAL_ACCESS_TOKEN@github.com/th-schwarz/CloudflareDNS-java.git synced-repo
- echo "Repository cloned successfully from GitHub."
rules:
- cron: "*/daily"
- if: $CI_PIPELINE_SOURCE == "schedule"