Skip to content

chore(deps): update immich to v1.122.3 (#191) #138

chore(deps): update immich to v1.122.3 (#191)

chore(deps): update immich to v1.122.3 (#191) #138

Workflow file for this run

name: 🚀 Deploy
on:
push:
branches:
- main
paths:
- "**/compose.yml"
jobs:
Deploy:
runs-on: Ubuntu-Latest
steps:
- name: 🛣️ Setup Tailscale
uses: tailscale/github-action@4e4c49acaa9818630ce0bd7a564372c17e33fb4d # v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_CLIENT_SECRET }}
tags: "tag:actions"
- name: 🔐 SSH to Deploy
uses: appleboy/ssh-action@7eaf76671a0d7eec5d98ee897acda4f968735a17 # v1.2.0
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script_stop: true
script: |
source "$HOME/.orbstack/shell/init.zsh" &>/dev/null
git -C "$HOME/homelab" fetch
git -C "$HOME/homelab" reset --hard origin/main
while read -r compose; do
docker compose -f "$compose" up -d --quiet-pull
done < <(find "$HOME/homelab" -name 'compose.yml')
docker image prune -af
docker volume prune -af