only deploy to app store on release

This commit is contained in:
Kyle Spearrin 2020-09-30 14:29:30 -04:00
parent dc192b75a1
commit 38ecc3b74b
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ jobs:
path: ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg path: ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg
- name: Deploy to App Store - name: Deploy to App Store
if: github.ref == 'refs/heads/master' || github.event_name == 'release' if: github.event_name == 'release'
run: npm run upload:mas run: npm run upload:mas
env: env:
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }} APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}