This commit is contained in:
@@ -2,9 +2,8 @@ name: Sync To /home/ubuntu/gfps
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
branches:
|
||||||
- "**/*.md"
|
- main
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
@@ -28,4 +27,11 @@ jobs:
|
|||||||
|
|
||||||
git fetch --prune origin
|
git fetch --prune origin
|
||||||
git reset --hard "${{ github.sha }}"
|
git reset --hard "${{ github.sha }}"
|
||||||
git clean -fd
|
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
|
||||||
Reference in New Issue
Block a user