diff --git a/circle.yml b/circle.yml index 24f339b..a0ffda0 100644 --- a/circle.yml +++ b/circle.yml @@ -22,12 +22,11 @@ test: override: - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh linux - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh windows - - cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS - - if [ $(ls MarbleGame_Windows.zip 2> /dev/null) ]; then cp MarbleGame_Windows.zip $CIRCLE_ARTIFACTS; fi + - cp MarbleGame_Windows.zip MarbleGame_Linux.zip $CIRCLE_ARTIFACTS deployment: master: branch: master commands: - - if [ $(ls MarbleGame_Windows.zip) ];then megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/; fi + - megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/ - megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/