Skip to content

Commit

Permalink
Fix commands in publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
avirshup committed Nov 28, 2017
1 parent c410618 commit 1326783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions codeship-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ image_builder: &build-base

publisher:
<<: *build-base
cached: false
encrypted_env_file: ./deployment/deploy-tokens.crypt


Expand Down
4 changes: 3 additions & 1 deletion deployment/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
# fail immediately if any command fails:
set -e

echo "Now deploying moldesign-${pyversion}"

# Copy python package out of the docker image
sdist=moldesign-${pyversion}.tar.gz
docker run moldesign_py_build:dev -v ./tmp/dist:/hostdists cp dist/${sdist} /hostdists
docker run -v ${PWD}/tmp/dist:/hostdists moldesign_py_build:dev cp dist/${sdist} /hostdists

# Push images to dockerhub
for img in moldesign_minimal \
Expand Down

0 comments on commit 1326783

Please sign in to comment.