Skip to content

Commit

Permalink
only sign phar on master
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Jul 7, 2021
1 parent f055b10 commit 7015b11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,10 @@ jobs:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
with:
args: gpg --list-secret-keys

- name: sign phar
uses: phpDocumentor/phar-ga@latest
if: github.ref == 'refs/heads/master'
env:
PASSPHRASE: ${{ secrets.PASSPHRASE }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
Expand Down

0 comments on commit 7015b11

Please sign in to comment.