From a8305f90ee455ba33fee0e91d17941097587cfb4 Mon Sep 17 00:00:00 2001 From: pavel Date: Tue, 10 Feb 2026 21:24:01 +0100 Subject: [PATCH] fix --- .forgejo/workflows/pipeline.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/pipeline.yaml b/.forgejo/workflows/pipeline.yaml index 05cc487..7e579d8 100644 --- a/.forgejo/workflows/pipeline.yaml +++ b/.forgejo/workflows/pipeline.yaml @@ -12,6 +12,7 @@ jobs: node-version: 24 - uses: actions/checkout@v6 - run: | + cd frontend npm install npm run build - run: ~/.cargo/bin/cargo build -r @@ -21,6 +22,7 @@ jobs: -F "attachment=@target/release/bot" \ "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets" - run: | + cd .. export XDG_RUNTIME_DIR=/run/user/$(id -u) export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus systemctl --user stop bot @@ -28,5 +30,5 @@ jobs: chmod +x ~/bot/bot mkdir -p ~/bot/fe rm -rf ~/bot/fe/* - cp -r dist/* ~/bot/fe/ + cp -r frontend/dist/* ~/bot/fe/ systemctl --user start bot \ No newline at end of file