This commit is contained in:
Joey Kimsey
2024-08-12 23:09:09 -04:00
parent ee5bcd23fa
commit e1d7c7fcc7

View File

@ -31,6 +31,7 @@ composer_update:
image: composer:latest
interruptible: true # allows to stop the job if a newer pipeline starts, saving resources and allowing new jobs to start because job concurrency is limited
script:
- pwd
- git ${JOB_GIT_FLAGS} fetch origin ${TARGET_BRANCH}
- git ${JOB_GIT_FLAGS} checkout ${TARGET_BRANCH}
- git reset --hard