github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/variables/example-1.yaml (about)

     1  # https://docs.gitlab.com/ee/ci/yaml/#variables
     2  
     3  variables:
     4    DEPLOY_SITE: "https://example.com/"
     5  
     6  deploy_job:
     7    stage: deploy
     8    script:
     9      - deploy-script --url $DEPLOY_SITE --path "/"
    10    environment: production
    11  
    12  deploy_review_job:
    13    stage: deploy
    14    variables:
    15      REVIEW_PATH: "/review"
    16    script:
    17      - deploy-review-script --url $DEPLOY_SITE --path $REVIEW_PATH
    18    environment: production