Skip to content

Commit

Permalink
Deploy release on labeled PR deploy-release
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenaAlfons committed Nov 29, 2023
1 parent 37f784c commit 211370c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
on:
push:
branches: [ master ]
tags:
# Pushing a tag that starts with v and has -rc in the middle will trigger a release
- v*-rc*
types: [ labeled ]
branches:
- master
- releases/*

jobs:
check-release-tag:
if: ${{ github.event.label.name == 'deploy-release' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit 211370c

Please sign in to comment.