Skip to content

Commit

Permalink
Merge pull request #726 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 0ae2490 + 988d7eb commit 175b7f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches: [ main ]

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -38,9 +41,5 @@ 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
7 changes: 3 additions & 4 deletions .github/workflows/release_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches: [ release/** ]

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -37,9 +40,5 @@ 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: 3 additions & 1 deletion .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
java-version: ${{ inputs.java }}
cache: gradle

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

0 comments on commit 175b7f9

Please sign in to comment.