diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e49e84067..10a369ab3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,9 @@ jobs: run: build-scripts/build-dist.sh - name: Upload artifact + # Only upload the artifacts if we're actually pushed to master + if: ${{ github.event_name == 'push' }} uses: actions/upload-artifact@v2 with: name: ${{ matrix.platform }} - path: dist/ \ No newline at end of file + path: dist/