From aaad73944599f05b2a0fda01bc86f966e030aac2 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 10 Jun 2020 17:11:13 +0200 Subject: [PATCH] publish only built files --- .circleci/config.yml | 2 ++ ci/build_and_publish_docker_images.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5f73d1c216..6525ab1e1d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -166,6 +166,8 @@ jobs: steps: - checkout - setup_remote_docker + - run: npm install + - run: npm run build - run: ./ci/build_and_publish_docker_images.sh deploy-remix-alpha: diff --git a/ci/build_and_publish_docker_images.sh b/ci/build_and_publish_docker_images.sh index c9d197f98e..a814cd0ebf 100755 --- a/ci/build_and_publish_docker_images.sh +++ b/ci/build_and_publish_docker_images.sh @@ -4,6 +4,9 @@ set -e # If not staging and master branch are existing export TAG="$CIRCLE_BRANCH" +mkdir temp_publish_docker +cp -r $FILES_TO_PACKAGE temp_publish_docker + docker login --username $DOCKER_USER --password $DOCKER_PASS docker-compose build docker push remixproject/remix-ide:$TAG