Added workflow to build custom version of Ghost

refs 7913283c96

- you can supply a branch and a version to call it, and it'll produce a
  zip of the tarball you can use
- this should avoid the need for local builds, which are error prone
This commit is contained in:
Daniel Lockyer 2022-08-19 08:52:33 +02:00
parent 43b8ad5069
commit f133e6af4d
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

20
.github/workflows/custom-build.yml vendored Normal file
View File

@ -0,0 +1,20 @@
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to build from'
type: string
required: false
default: 'main'
version:
description: 'Version to build'
type: string
required: true
env:
FORCE_COLOR: 1
jobs:
custom:
uses: tryghost/actions/.github/workflows/custom.yml@main
with:
branch: ${{ inputs.branch }}
version: ${{ inputs.version }}