diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 01b3555..29717bf 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -41,10 +41,10 @@ jobs: uses: https://github.com/appleboy/ssh-action@v1.0.3 with: key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }} - fingerprint: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }} - host: home.finnchristiansen.de - username: dploy - port: 44022 + fingerprint: ${{ secrets.DOCKER_RPI4_SSH_FINGERPRINT }} + host: ${{ secrets.DOCKER_RPI4_SSH_HOSTNAME }} + username: ${{ secrets.DOCKER_RPI4_SSH_USERNAME }} + port: ${{ secrets.DOCKER_RPI4_SSH_PORT }} script: | cd /opt/stacks/matrix-bot-invitation-mailer docker compose pull && docker compose up -d --force-recreate diff --git a/compose.yml b/compose.yml index 5935b1f..9c70c22 100644 --- a/compose.yml +++ b/compose.yml @@ -4,6 +4,7 @@ services: build: context: . image: code.f2n.me/finn/matrix-bot-invitation-mailer:latest + restart: unless-stopped environment: - BOT_HOMESERVER - BOT_USERNAME