Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/backend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ jobs:
# REDIS_URL just disables live-following fan-out.
grep -q '^REDIS_URL=' .env 2>/dev/null || \
echo 'REDIS_URL=redis://127.0.0.1:6379/${{ steps.env.outputs.redis_db }}' >> .env
# GitHub token for the gateway's SKILL.md backfill (raises the API
# rate limit from 60/hr/IP to 5000/hr). Replace-on-deploy so
# rotating the SKILLS_GITHUB_TOKEN secret rotates the host.
if [ -n '${{ secrets.SKILLS_GITHUB_TOKEN }}' ]; then
sed -i '/^GITHUB_TOKEN=/d' .env 2>/dev/null || true
echo 'GITHUB_TOKEN=${{ secrets.SKILLS_GITHUB_TOKEN }}' >> .env
fi
python3.11 -m venv .venv 2>/dev/null || true
.venv/bin/pip install -q -r requirements.txt
sudo systemctl restart ${{ steps.env.outputs.service }}
Expand Down
Loading
Loading