mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
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:
parent
43b8ad5069
commit
f133e6af4d
20
.github/workflows/custom-build.yml
vendored
Normal file
20
.github/workflows/custom-build.yml
vendored
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user