Skip to content

Update release.yaml

Update release.yaml #3

Workflow file for this run

name: Create release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes
deploy-to-pod:
uses: dzmitrykliapkou/test-serverless/.github/workflows/release.yaml@main