summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-11-22 18:04:09 -0600
committerBe <be@mixxx.org>2020-11-22 20:48:16 -0600
commit790ef84f0f5dc3368189a6bccff19fc813b77ae6 (patch)
treef26d616b122aef1d7a05e6d99f7e03f4fbc7dd5f /.github
parentdeb9cc9dc5b285ce62c3127d68c21575f22d6817 (diff)
GH Actions: deploy macOS builds to downloads.mixxx.org
and disable deployment from Travis
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a11f1af363..fad174fe8a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -182,7 +182,17 @@ jobs:
run: codesign --verbose=4 --options runtime --sign "${APPLE_CODESIGN_IDENTITY}" --entitlements ../build/osx/entitlements.plist *.dmg
working-directory: cmake_build
- - name: "Deploy artifacts"
+ - name: "[macOS] Upload build to downloads.mixxx.org"
+ # skip deploying Ubuntu builds to downloads.mixxx.org because these are deployed to the PPA
+ if: runner.os == 'macOS' && env.DOWNLOADS_HOSTGATOR_DOT_MIXXX_DOT_ORG_KEY_PASSWORD != null
+ run: tools/deploy.sh
+ env:
+ FILE_TO_DEPLOY: ${{ matrix.artifacts_path }}
+ OS: ${{ runner.os }}
+ DOWNLOADS_HOSTGATOR_DOT_MIXXX_DOT_ORG_KEY_PASSWORD: ${{ secrets.DOWNLOADS_HOSTGATOR_DOT_MIXXX_DOT_ORG_KEY_PASSWORD }}
+ SSH_KEY: build/certificates/downloads-hostgator.mixxx.org.key
+
+ - name: "Upload GitHub Actions artifacts"
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifacts_name }}