Skip to content

Commit

Permalink
build: Skip site publication on release
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Sep 5, 2024
1 parent 2724d14 commit ae6704c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,18 @@ jobs:
out/jreleaser/trace.log
out/jreleaser/output.properties
- name: Build site
run: |
export GPG_TTY=$(tty)
./mvnw -ntp -B --file pom.xml \
-Drepository.url=https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git \
site site:stage -DstagingDirectory="${{ runner.temp }}/site"
- name: Publish site
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: "${{ runner.temp }}/site"
# - name: Build site
# run: |
# export GPG_TTY=$(tty)
# ./mvnw -ntp -B --file pom.xml \
# -Drepository.url=https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git \
# site site:stage -DstagingDirectory="${{ runner.temp }}/site"
#
# - name: Publish site
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# branch: gh-pages
# folder: "${{ runner.temp }}/site"

- name: Set next version
run: |
Expand Down

0 comments on commit ae6704c

Please sign in to comment.