스크립트 및 작업 로그 문제 해결
: 를 사용하는 스크립트에서 Syntax is incorrect # 스크립트에서 콜론( : )을 사용하면 GitLab이 다음을 출력할 수 있습니다: Syntax is incorrect script config should be a string or a nested array of strings up to 10 levels deep 예를 들어, cURL 명령의 일부로 "PRIVATE-TOKEN: ${PRIVATE_TOKEN}" 를 사용하는 경우: pages-job: stage: deploy script: - curl --header 'PRIVATE-TOKEN: ${PRIVATE_TOKEN}' "https://gitlab.example.com/api/v4/projects" environment: production YAML 파서는 : 가 YAML 키워드를 정의한다고 생각하여 Syntax is incorrect 오류를 출력합니다. 콜론을 포함하는 명령을 사용하려면 전체 명령을 작은따옴표로
