Skip to content

Commit

Permalink
Remove redundant success() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
bacongravy committed Jun 15, 2020
1 parent 9f0b906 commit 6665b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
path: "~/Library/Logs/gym/*.log"

- name: Upload release assets
if: success() && startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: |
Expand All @@ -51,7 +51,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload app to App Store Connect
if: success() && startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
env:
APP_STORE_CONNECT_USERNAME: ${{ secrets.APP_STORE_CONNECT_USERNAME }}
APP_STORE_CONNECT_PASSWORD: ${{ secrets.APP_STORE_CONNECT_PASSWORD }}
Expand Down

0 comments on commit 6665b19

Please sign in to comment.