Skip to content

fix: copy code into /app/agent so module path resolves #2

fix: copy code into /app/agent so module path resolves

fix: copy code into /app/agent so module path resolves #2

Workflow file for this run

name: Deploy to Hostinger
on:
push:
branches: [main]
paths:
- "agent/**"
- "SOUL.md"
- "AGENTS.md"
- ".github/workflows/deploy.yml"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: SSH into Hostinger and pull
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOSTINGER_HOST }}
username: ${{ secrets.HOSTINGER_USER }}
key: ${{ secrets.HOSTINGER_SSH_KEY }}
port: ${{ secrets.HOSTINGER_PORT || 22 }}
script: |
set -euo pipefail
cd /root/SolidState
git fetch origin
git reset --hard origin/main
bash agent/scripts/deploy.sh