From 3a6abd4825f41809b98a1444d3ce49c53c8b31b1 Mon Sep 17 00:00:00 2001 From: Nycolaide Date: Sun, 31 May 2026 00:09:53 +0200 Subject: [PATCH 1/2] add new workflow for release to package lapikit --- .github/workflows/current.yml | 3 --- .github/workflows/release.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/current.yml b/.github/workflows/current.yml index 7186b41b..0ed55b77 100644 --- a/.github/workflows/current.yml +++ b/.github/workflows/current.yml @@ -7,9 +7,6 @@ on: pull_request: branches: - main - repository_dispatch: - types: [lapikit-updated] - jobs: build: uses: ./.github/workflows/integrations-test.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..b8f31514 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: CI/CD Release lapikit + +on: + repository_dispatch: + types: [lapikit-updated] + +jobs: + deploy: + runs-on: ubuntu-latest + timeout-minutes: 10 + needs: build + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: deploy on production environment + uses: appleboy/ssh-action@v1.2.5 + with: + host: ${{ secrets.VPS_HOST }} + username: ${{ secrets.VPS_USER }} + key: ${{ secrets.SSH_KEY }} + port: ${{ secrets.VPS_PORT }} + script: | + set -euo pipefail + cd ~/${{ secrets.PATH_CURRENT }} + git fetch origin + git reset --hard origin/main + docker compose build + docker compose up -d --remove-orphans From 6e1d49031a31e5b8eb3c6fc65459315203bbc950 Mon Sep 17 00:00:00 2001 From: Nycolaide Date: Sun, 31 May 2026 00:14:03 +0200 Subject: [PATCH 2/2] fix color lapikit title --- src/routes/+page.svelte | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f84eb081..33777183 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -46,6 +46,7 @@ import LapikitLogo from '$lib/assets/images/lapikit.webp?enhanced'; import { openConsentPreferences } from '$lib/stores/consent.svelte'; import { npmState } from '$lib/stores/npm.svelte'; + import { resolve } from '$app/paths'; // states let stepCode: number = $state(0); @@ -217,7 +218,7 @@ >