Skip to content

Commit

Permalink
Implement multiple :site versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Sep 15, 2024
1 parent 2ae472b commit 6ca9e6d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
tasks: jmh

build_site:
permissions:
contents: write
uses: hexagontk/hexagon/.github/workflows/site.yml@develop

test_publishing:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ jobs:
build_site:
uses: hexagontk/hexagon/.github/workflows/site.yml@develop
needs: publish
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
options: -P pushSite=true
4 changes: 4 additions & 0 deletions .github/workflows/release_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ jobs:
push_site:
uses: hexagontk/hexagon/.github/workflows/site.yml@develop
needs: publish
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
options: -P pushSite=true
4 changes: 1 addition & 3 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ jobs:
java-version: ${{ inputs.java }}
cache: gradle

- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- run: |
export GIT_COMMITTER_NAME="${GITHUB_ACTOR}"
export GIT_COMMITTER_EMAIL="project@hexagontk.com"
./gradlew --stacktrace build
Expand Down

0 comments on commit 6ca9e6d

Please sign in to comment.