From 09e6122b401e789a389fd73e400c12c97c9b0e37 Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Mon, 1 Jul 2024 21:20:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Try=20another=20deploy=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/ci.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 52ffb5c..7a8c520 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -36,18 +36,16 @@ jobs: - name: Inspect run: | docker buildx imagetools inspect code.f2n.me/finn/matrix-bot-invitation-mailer:latest + - name: Deploy - uses: https://github.com/tristiisch/docker-stack-deployment@v2 + - uses: actions/checkout@v3 + - uses: https://github.com/tristiisch/astappiev/docker-compose-remote-action@master + name: Docker-Compose Remote Deployment with: - remote_docker_host: home.finnchristiansen.de - remote_docker_port: 44022 - remote_docker_username: deploy + ssh_host: home.finnchristiansen.de + ssh_port: 44022 + ssh_user: deploy ssh_private_key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }} - ssh_public_key: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }} - deployment_mode: docker-compose - copy_stack_file: false - deploy_path: /opt/stacks/matrix-bot-invitation-mailer - stack_file_path: ./compose.yml - keep_files: 5 - docker_remove_orphans: true - args: "" + ssh_host_public_key: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }} + workspace: /opt/stacks/matrix-bot-invitation-mailer + docker_compose_filename: compose.yml