Skip to content

Commit

Permalink
update to deploy on master only
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Oct 27, 2019
1 parent 06de17b commit ae5e2f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
run: $DOCKER_COMMAND echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import && echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust && mvn clean deploy --settings default.xml -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests=true -B -P release

- uses: meeDamian/github-release@1.0
if: github.ref == 'refs/heads/master'
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${CURRENT_VERSION}
Expand Down

0 comments on commit ae5e2f3

Please sign in to comment.