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