"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Python
fix github pages build workflow
yuhao776569427f23
diff --git a/.github/scripts/update_registry_dates.py b/.github/scripts/update_registry_dates.pyindex 6cec29eee..fb3eb7d47 100644--- a/.github/scripts/update_registry_dates.py+++ b/.github/scripts/update_registry_dates.py@@ -19,7 +19,7 @@ def get_last_modified(harness_path):def main():repo_root = Path(__file__).parent.parent.parentregistry_path = repo_root / 'registry.json'- dates_path = repo_root / 'registry-dates.json'+ dates_path = repo_root / 'docs' / 'registry-dates.json'with open(registry_path) as f:data = json.load(f)diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.ymlindex 8941f1d3f..5ce302bdc 100644--- a/.github/workflows/deploy-pages.yml+++ b/.github/workflows/deploy-pages.yml@@ -6,6 +6,8 @@ on:- mainpaths:- '*/agent-harness/**'+ - '.github/workflows/deploy-pages.yml'+ - '.github/scripts/update_registry_dates.py'workflow_dispatch:permissions:@@ -32,15 +34,16 @@ jobs:- name: Generate registry datesrun: python3 .github/scripts/update_registry_dates.py- - name: Prepare Pages content- run: |- mkdir -p _pages- cp registry-dates.json _pages/+ - name: Build with Jekyll+ uses: actions/jekyll-build-pages@v1+ with:+ source: ./docs+ destination: ./docs/_site- name: Upload artifactuses: actions/upload-pages-artifact@v3with:- path: '_pages'+ path: './docs/_site'deploy:environment: