Skip to content

fix workflow for prod #1

fix workflow for prod

fix workflow for prod #1

name: Tag and release production
on:
workflow_call:
secrets:
gh_token:
required: true
push:
branches:
- main
- master
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.gh_token }}
tag_prefix: Prod-
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}