From f133e6af4d9ec7a6d613497f650303a5f177935b Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 19 Aug 2022 08:52:33 +0200 Subject: [PATCH] Added workflow to build custom version of Ghost refs https://github.com/TryGhost/actions/commit/7913283c96e3ebeb285bacd632649c94ce5cb34e - 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 --- .github/workflows/custom-build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/custom-build.yml diff --git a/.github/workflows/custom-build.yml b/.github/workflows/custom-build.yml new file mode 100644 index 0000000000..1524753fe4 --- /dev/null +++ b/.github/workflows/custom-build.yml @@ -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 }}