-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip publishing latest and snapshot for older Grails version (#840)
- Loading branch information
1 parent
3bafcd2
commit fd00716
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ jobs: | |
matrix: | ||
java: ['8'] | ||
env: | ||
BETA: ${{ startsWith(github.event.inputs.grails_version, '3.3') || startsWith(github.event.inputs.grails_version, '4.1.') || contains(github.event.inputs.grails_version, 'M') || contains(github.event.inputs.grails_version, 'RC') }} | ||
BETA: ${{ contains(github.event.inputs.grails_version, 'M') || contains(github.event.inputs.grails_version, 'RC') }} | ||
OLDER_VERSION: ${{ startsWith(github.event.inputs.grails_version, '3.3') || startsWith(github.event.inputs.grails_version, '4.1') }} | ||
GIT_USER_NAME: puneetbehl | ||
GIT_USER_EMAIL: [email protected] | ||
steps: | ||
|
@@ -86,7 +87,7 @@ jobs: | |
if_false: ${{ github.repository }} | ||
- name: Publish to Github Pages | ||
if: success() | ||
uses: micronaut-projects/github-pages-deploy-action@master | ||
uses: micronaut-projects/github-pages-deploy-action@grails | ||
env: | ||
TARGET_REPOSITORY: ${{ steps.docs_target.outputs.value }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|