From f81de377bcfe7ccdb9c76f84c933b278003f80db Mon Sep 17 00:00:00 2001 From: Leo Conforti Date: Wed, 8 May 2024 06:03:47 +0000 Subject: [PATCH] add dokku deployments --- .github/workflows/ci.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d2ff5eb..85ff572 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -90,7 +90,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/dokku-deploy + - uses: dokku/github-action@master + with: + ssh_private_key: ${{ secrets.AUTHPROXY_DOKKU_KEY }} + git_remote_url: "ssh://dokku@authproxy.tinyburg.app:22/authproxy" + deploy_docker_image: ghcr.io/leonitousconforti/tinyburg/authproxy:latest # In order to deploy the auto-gold-bits docker image, we do the exact same # steps as we did for the authproxy docker image but using the auto-gold-bits. @@ -102,4 +106,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/dokku-deploy + - uses: dokku/github-action@master + with: + ssh_private_key: ${{ secrets.PLAYGROUND_DOKKU_KEY }} + git_remote_url: "ssh://dokku@playground.tinyburg.app:22/auto-gold-bits" + deploy_docker_image: ghcr.io/leonitousconforti/tinyburg/auto-gold-bits:latest