From b0ba0d3c235f758080f19683b2f5aa300bf366f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Mon, 21 Oct 2024 05:46:27 +0900 Subject: [PATCH] docs: document steps to update CI pipeline --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index caaa85a..dc30893 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,19 @@ Original: Web Edition https://git.unlock-music.dev/um/web - Drag the encrypted file to `um.exe` (Tested on Windows) - Run: `./um [-o ] [-i] ` - Use `./um -h` to show help menu + +## Update CI pipeline + +Ensure `jsonnet` and `yq` is installed. + +```sh +# Debian / Ubuntu etc: +sudo apt install jsonnet yq +``` + +1. Edit `.drone.jsonnet` +2. Update drone CI pipeline: + + ```sh + jsonnet -y .drone.jsonnet | yq -y > .drone.yml + ```