diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 62f6484..c139fd6 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,9 +1,8 @@ -# Tests every push; a push to master that passes is deployed to homelab. -# -# Deploying: the job SSHes to homelab with DEPLOY_SSH_KEY. That key may only -# run ~/bin/deploy-usenet-indexer (a forced command in authorized_keys), -# which fetches the commit from this repo, builds the image, runs the -# migrations and recreates the app services (never postgres or redis). +# Tests every push. Voyager 1 (this branch) is retired since 2026-10-11: its +# database was deleted on 2026-10-09, and a push to master no longer deploys. +# Voyager 2 (branch rebuild) has its own workflow and deploy +# (deploy/README.md there); homelab's ~/bin/deploy-usenet-indexer refuses +# voyager 1 deploys too. name: Test and deploy on: @@ -63,19 +62,3 @@ jobs: - name: Test run: node ace test - deploy: - needs: test - if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - name: Deploy to homelab - env: - DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }} - DEPLOY_KNOWN_HOSTS: ${{ secrets.DEPLOY_KNOWN_HOSTS }} - run: | - install -m 700 -d ~/.ssh - printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/deploy_key - chmod 600 ~/.ssh/deploy_key - printf '%s\n' "$DEPLOY_KNOWN_HOSTS" > ~/.ssh/known_hosts - ssh -i ~/.ssh/deploy_key -o IdentitiesOnly=yes -o BatchMode=yes \ - daan@10.206.0.175 "deploy ${{ github.sha }}"