Skip to content

Commit

Permalink
ci: Add vps/redeploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Jan 19, 2025
1 parent 80df011 commit 2e70f39
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,16 @@ vps/login:
ssh n8n-shortlink-infra
.PHONY: vps/login

## vps/caddy/logs: Tail Caddy logs
vps/caddy/logs:
## vps/logs/proxy: Tail reverse proxy logs
vps/logs/proxy:
ssh n8n-shortlink-infra "journalctl -u caddy -f"
.PHONY: vps/caddy/logs
.PHONY: vps/logs/proxy

## vps/logs/app: Tail app container logs
vps/app/logs:
vps/logs/app:
ssh n8n-shortlink-infra "docker logs -f n8n-shortlink"
.PHONY: vps/app/logs
.PHONY: vps/logs/app

## vps/redeploy: Prompt watchtower to poll and deploy new version
vps/redeploy:
ssh n8n-shortlink-infra "docker exec watchtower /watchtower --run-once n8n-shortlink"

0 comments on commit 2e70f39

Please sign in to comment.