Some corrections

master
Meliurwen 3 years ago
parent 0547ae8d4e
commit 60e41f5f09
  1. 3
      Dockerfile
  2. 5
      src/main.sh

@ -4,9 +4,6 @@ COPY ./src /srv/build
WORKDIR /srv/build WORKDIR /srv/build
# Building node
RUN ./build.npm.sh
VOLUME ["/srv/build/repo/incoming"] VOLUME ["/srv/build/repo/incoming"]
ENTRYPOINT ["./main.sh"] ENTRYPOINT ["./main.sh"]

@ -10,12 +10,11 @@ echo "Building VSCodium..."
./build.sh ./build.sh
echo "Package(s) deploy..." echo "Package(s) deploy..."
DIST_DIR="vscode/.build/linux/deb/amd64/deb" DIST_DIR="/srv/build/vscodium/vscode/.build/linux/deb/amd64/deb"
INCOMING_DIR="repo/incoming" INCOMING_DIR="repo/incoming"
READY_SUFFIX=".ready" READY_SUFFIX=".ready"
mkdir -p "${INCOMING_DIR}" mkdir -p "${INCOMING_DIR}"
tree > "${INCOMING_DIR}/tree.txt" if [ -d "${DIST_DIR}" ]; then
if [ -d "${DIST_DIR}"" ]; then
./deploy.sh "${DIST_DIR}" "${INCOMING_DIR}" "${READY_SUFFIX}" ./deploy.sh "${DIST_DIR}" "${INCOMING_DIR}" "${READY_SUFFIX}"
else else
printf "%s" "No dist dir found! Aborting..." printf "%s" "No dist dir found! Aborting..."

Loading…
Cancel
Save