Skip to content

Commit

Permalink
Fixing documentation job
Browse files Browse the repository at this point in the history
  • Loading branch information
sbglasius committed Dec 30, 2023
1 parent 984f808 commit e5268a9
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ name: Release
on:
release:
types: [ published ]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
env:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -40,8 +42,8 @@ jobs:
runs-on: ubuntu-latest
needs: release
env:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -65,16 +67,16 @@ jobs:
- uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
author_name: ${{ secrets.GIT_USER_NAME }}
author_email: $${ secrets.GIT_USER_EMAIL }}
branch: 'master'
author_name: ${{ vars.GIT_USER_NAME }}
author_email: $${ vars.GIT_USER_EMAIL }}
branch: master
message: 'Set project version to next SNAPSHOT'
documenation:
runs-on: ubuntu-latest
needs: bump-version
env:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -101,8 +103,8 @@ jobs:
BRANCH: gh-pages
FOLDER: build/asciidoc
DOC_FOLDER: latest
COMMIT_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ secrets.GIT_USER_NAME }}
COMMIT_EMAIL: ${{ vars.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ vars.GIT_USER_NAME }}
VERSION: ${{ steps.get_version.outputs.version-without-v }}
- uses: micronaut-projects/github-actions/post-release@master
if: success()
Expand Down

0 comments on commit e5268a9

Please sign in to comment.