Files
hantim-server/.gitea/workflows/deploy-garage.yml
T
timothykim 919c5353bc
Provision server / provision (push) Failing after 2s
split setup.sh into bootstrap.sh and configure.sh
bootstrap.sh handles first-time setup (manual, Bitwarden).
configure.sh handles idempotent config (CI-safe).
Add provision workflow, deploy-garage workflow, new-service.sh.
Remove git-crypt references and empty .gitattributes.
2026-03-18 14:51:19 -04:00

19 lines
438 B
YAML

name: Deploy garage
on:
push:
branches: [main]
paths:
- 'docker/garage/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@${{ vars.DEPLOY_HOST }} deploy-garage