Fix ailog build command arguments in all workflows

- Remove invalid --output option
- ailog build only accepts path argument
- Update gh-pages-fast.yml to use correct path
- Update action.yml to use correct command syntax
- Cloudflare workflow already correct

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-06-14 17:38:25 +09:00
parent eb3feffd70
commit e1eb04620e
2 changed files with 12 additions and 8 deletions

View File

@@ -76,12 +76,13 @@ jobs:
TZ: "Asia/Tokyo"
run: |
# Use pre-built ailog binary instead of cargo build
./bin/ailog build --output ./public
cd my-blog
../bin/ailog build
touch ./public/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_dir: ./my-blog/public
publish_branch: gh-pages

View File

@@ -100,12 +100,15 @@ runs:
run: |
start_time=$(date +%s)
./bin/ailog-linux-x86_64 build \
--content ${{ inputs.content-dir }} \
--output ${{ inputs.output-dir }} \
--templates ${{ inputs.template-dir }} \
--static ${{ inputs.static-dir }} \
--config ${{ inputs.config-file }}
# Change to blog directory and run build
# Note: ailog build only takes a path argument, not options
if [ -d "my-blog" ]; then
cd my-blog
../bin/ailog-linux-x86_64 build
else
# If no my-blog directory, use current directory
./bin/ailog-linux-x86_64 build .
fi
end_time=$(date +%s)
build_time=$((end_time - start_time))