Skip to content

Commit

Permalink
ci: add manual workflow to release main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lesha1201 committed Nov 27, 2023
1 parent 324b83c commit fea554e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release `main` branch

on:
workflow_dispatch:
inputs:
acknowledge:
description: I understand that this action will publish everything on canary to the stable version
required: true
type: boolean

jobs:
release:
if: ${{ inputs.acknowledge }}
name: Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: main

- name: Merge canary into main
run: |
git merge --ff-only origin/canary
git push

0 comments on commit fea554e

Please sign in to comment.