From e6b4e86f568f8d339c968f060fa1e596203e701f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E9=A3=8E?= Date: Sat, 2 May 2026 11:09:31 +0800 Subject: [PATCH] test1 --- .gitea/workflows/sync-to-host.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/sync-to-host.yml b/.gitea/workflows/sync-to-host.yml index 70e57bc..f7d2122 100644 --- a/.gitea/workflows/sync-to-host.yml +++ b/.gitea/workflows/sync-to-host.yml @@ -2,9 +2,8 @@ name: Sync To /home/ubuntu/gfps on: push: - paths: - - "**/*.md" - workflow_dispatch: + branches: + - main jobs: sync: @@ -28,4 +27,11 @@ jobs: git fetch --prune origin git reset --hard "${{ github.sha }}" - git clean -fd \ No newline at end of file + git clean -fd + + - name: Rebuild gfps index + shell: bash + run: | + set -e + sudo -u nanobot -H /home/nanobot/nanobot/.venv/bin/python \ + /home/nanobot/.nanobot/workspace/skills/gfps-kb/gfps_kb.py index \ No newline at end of file