From 32a3b4ff862afae456ae79503256d6f6efd158b6 Mon Sep 17 00:00:00 2001 From: Amandus Date: Mon, 16 Oct 2023 17:18:46 +0200 Subject: [PATCH] ci: add copy config step --- .github/workflows/heal.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/heal.yml b/.github/workflows/heal.yml index a9067f2b6..b1ed5ede9 100644 --- a/.github/workflows/heal.yml +++ b/.github/workflows/heal.yml @@ -21,6 +21,9 @@ jobs: - name: hard reset to origin state working-directory: ${{ secrets.work_dir }} run: git reset --hard origin/${GITHUB_REF_NAME} + - name: copy example configs to config folder + working-directory: ${{ secrets.work_dir }} + run: cd src && cp config-examples/* config && for i in config/*-example.js; do mv -- "$i" "${i%-example.js}.js"; done - name: build docker rebuild and restart working-directory: ${{ secrets.work_dir }} run: docker compose up --build --force-recreate -d