Skip to content

Commit

Permalink
Add manually triggered workflow for releases (#1095)
Browse files Browse the repository at this point in the history
To make releases a little simpler, you can now trigger them via a button in the GitHub Actions UI.
  • Loading branch information
Mr0grog authored Mar 16, 2023
1 parent 716f891 commit 6ec1677
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
workflow_dispatch:
inputs:
message:
description: 'Message'
type: string
required: true

name: Trigger New Release

jobs:
# CircleCI currently builds the release; all this does is push a merge commit
# to the `release` branch (which triggers Circle to build and publish).
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Update release branch
run: |
git checkout release
git pull
git merge main -m '${{ inputs.message }}'
git push

0 comments on commit 6ec1677

Please sign in to comment.