Update .gitlab-ci.yml file
This commit is contained in:
+2
-6
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user