Skip to content

Commit 7c7678a

Browse files
authored
Merge pull request #206 from hap-java/ci/release-skip-site-deploy
Release workflow: only run deploy in release:perform
2 parents bc03977 + 25e9efe commit 7c7678a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
git config --global user.name "github-actions[bot]"
3434
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3535
- name: Maven release
36-
run: mvn release:prepare release:perform -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }}
36+
# Only deploy; the site is published by the deploy workflow on pushes to master.
37+
run: mvn release:prepare release:perform -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -Dgoals=deploy
3738
env:
3839
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)