👷 get that container updated somehow, replaced secrets and updated compose.yml
Some checks failed
Python formatting PEP8 / Python-PEP8 (push) Successful in 17s
ci / docker (push) Failing after 4m26s

This commit is contained in:
Finn Christiansen 2024-07-02 21:34:28 +02:00
parent d6f9924a5c
commit a22ca33d01
2 changed files with 5 additions and 4 deletions

View file

@ -41,10 +41,10 @@ jobs:
uses: https://github.com/appleboy/ssh-action@v1.0.3 uses: https://github.com/appleboy/ssh-action@v1.0.3
with: with:
key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }} key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }}
fingerprint: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }} fingerprint: ${{ secrets.DOCKER_RPI4_SSH_FINGERPRINT }}
host: home.finnchristiansen.de host: ${{ secrets.DOCKER_RPI4_SSH_HOSTNAME }}
username: dploy username: ${{ secrets.DOCKER_RPI4_SSH_USERNAME }}
port: 44022 port: ${{ secrets.DOCKER_RPI4_SSH_PORT }}
script: | script: |
cd /opt/stacks/matrix-bot-invitation-mailer cd /opt/stacks/matrix-bot-invitation-mailer
docker compose pull && docker compose up -d --force-recreate docker compose pull && docker compose up -d --force-recreate

View file

@ -4,6 +4,7 @@ services:
build: build:
context: . context: .
image: code.f2n.me/finn/matrix-bot-invitation-mailer:latest image: code.f2n.me/finn/matrix-bot-invitation-mailer:latest
restart: unless-stopped
environment: environment:
- BOT_HOMESERVER - BOT_HOMESERVER
- BOT_USERNAME - BOT_USERNAME