15 lines
442 B
YAML
15 lines
442 B
YAML
variables:
|
|
GIT_STRATEGY: none
|
|
|
|
# Define job to clone GitHub repository
|
|
clone_source_daily:
|
|
# Use an appropriate GitLab runner image
|
|
image: alpine/git
|
|
script:
|
|
- echo "Cloning source from GitHub..."
|
|
- 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:
|
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
|