Skip to content

Commit

Permalink
Merge pull request #725 from hexagontk/develop
Browse files Browse the repository at this point in the history
Implement multiple :site versions
  • Loading branch information
jaguililla authored Sep 15, 2024
2 parents bc61b98 + cf53210 commit 0ae2490
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 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
6 changes: 1 addition & 5 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ on:
jobs:
site:
runs-on: ubuntu-latest
permissions:
contents: write
defaults:
run: { shell: bash }
steps:
Expand All @@ -59,9 +57,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 0ae2490

Please sign in to comment.