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