diff --git a/.circleci/config.yml b/.circleci/config.yml index bccab7e7..eba426e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,6 +14,10 @@ jobs: NPROC: 4 COMMIT_TAG: pipeline.git.tag steps: + - add_ssh_keys: + fingerprints: + - "82:42:56:a0:57:43:95:4e:00:c0:8c:c1:7f:70:74:47" + - checkout: path: ~/MBHaxe @@ -222,10 +226,15 @@ jobs: command: | cd ~/MBHaxe rm -rf "macos-dist/MarbleBlast Gold.app.in" - zip -r MBHaxe-Gold.zip macos-dist/ + zip -r MBHaxe-Gold-Mac.zip macos-dist/ - - store_artifacts: - path: ~/MBHaxe/MBHaxe-Gold.zip + - run: + name: Upload to Artifact Storage + command: | + scp -o StrictHostKeyChecking=no -i $KEYPATH -P $PORT ~/MBHaxe/MBHaxe-Gold-Mac.zip $REMOTEDIR/MBHaxe-Gold-Mac.zip + + # - store_artifacts: + # path: ~/MBHaxe/MBHaxe-Gold.zip build-win: executor: @@ -237,6 +246,10 @@ jobs: # Then run your tests! # CircleCI will report the results back to your VCS provider. steps: + - add_ssh_keys: + fingerprints: + - "82:42:56:a0:57:43:95:4e:00:c0:8c:c1:7f:70:74:47" + - checkout - run: name: Install dependencies @@ -338,8 +351,13 @@ jobs: command: | cd ~/project 7z a MBHaxe-Gold-Win.zip release/ - - store_artifacts: - path: ~/project/MBHaxe-Gold-Win.zip + + - run: + name: Upload to Artifact Storage + command: | + scp -o StrictHostKeyChecking=no -i $KEYPATH -P $PORT ~/project/MBHaxe-Gold-Win.zip $REMOTEDIR/MBHaxe-Gold-Win.zip + # - store_artifacts: + # path: ~/project/MBHaxe-Gold-Win.zip # Invoke jobs via workflows