Added update before to test
This commit is contained in:
@@ -11,7 +11,7 @@ variables:
|
||||
IMAGE_BACKEND: "docker.io/benarbause/doodleback-with-quarkus:latest"
|
||||
IMAGE_FRONTEND: "docker.io/vuminh224/doodle-frontend:latest"
|
||||
APP_REPO: "https://github.com/barais/doodlestudent.git"
|
||||
#SUBMODULE_PATH: "doodlestudent"
|
||||
SUBMODULE_PATH: "doodlestudent"
|
||||
|
||||
check_app_update:
|
||||
stage: check
|
||||
@@ -40,6 +40,7 @@ build_frontend:
|
||||
- check_app_update
|
||||
script:
|
||||
- source variables.env || true
|
||||
- git submodule update --init --recursive
|
||||
- if [ "$NEW_COMMIT" != "true" ]; then
|
||||
echo "No new commit, skipping build";
|
||||
exit 0;
|
||||
|
||||
Reference in New Issue
Block a user