Skip to content
Snippets Groups Projects
Commit 09d2235f authored by Dmitriy Rudko's avatar Dmitriy Rudko :speech_balloon:
Browse files

Run deployment only from protected branches

parent 268df3fb
No related branches found
No related tags found
No related merge requests found
Pipeline #4840 failed
......@@ -45,4 +45,7 @@ dags_rsync_community:
stage: deploy
script:
- gcloud auth activate-service-account --key-file $OSDU_GCP_SVC_ACCT
- gsutil -m rsync -x "\.git.*|tests/.*|plugins/tests.*$" -r "$PWD" $OSDU_GCP_DEPL_TARGET
\ No newline at end of file
- gsutil -m rsync -x "\.git.*|tests/.*|plugins/tests.*$" -r "$PWD" $
only:
variables:
- $CI_COMMIT_REF_PROTECTED
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment