Skip to content

spring-search-1.0.11 #8

spring-search-1.0.11

spring-search-1.0.11 #8

name: SpringSearch Deploy
on:
pull_request:
types:
- closed
branches:
- master
env:
TAG_NAME: ${{ github.event.pull_request.title }}
jobs:
build:
if: contains(github.head_ref, 'bump/v') && github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- name: Push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_TAG: ${{ env.TAG_NAME }}
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.TAG_NAME }}
generate_release_notes: true