From a22ca33d0156ddedf8a156a2cb9fa6f367b0495c Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Tue, 2 Jul 2024 21:34:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20get=20that=20container=20updated?= =?UTF-8?q?=20somehow,=20replaced=20secrets=20and=20updated=20compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/ci.yaml | 8 ++++---- compose.yml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) 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