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