ci: don't push to docker if the webui cannot be built

This commit is contained in:
Gauthier Roebroeck 2020-01-04 15:29:28 +08:00
parent 64f542d42f
commit fe4393f908

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
./gradlew copyWebDist
./gradlew dockerPushBeta
./gradlew copyWebDist && ./gradlew dockerPushBeta