From 7fd04383c5d2de5fcc4be9d446a4d8777018271f Mon Sep 17 00:00:00 2001 From: Bernhard Bliem Date: Fri, 11 Oct 2024 16:37:38 +0200 Subject: [PATCH] Test --- .github/workflows/ci.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4dd8403d..d855c353 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,3 +37,17 @@ jobs: project_id: watch-ui build_id: ${{ needs.build.outputs.build_id }} deployment_env: ${{ needs.build.outputs.deployment_env }} + + deploy-dokku: + needs: [build, deploy] + runs-on: ubuntu-latest + steps: + - name: Push to dokku + uses: dokku/github-action@master + with: + # FIXME: Make configurable + # git_remote_url: 'ssh://dokku@dokku.kausal.tech:22/watch-dev' + git_remote_url: 'ssh://dokku@100.75.0.2:22/watch-dev' + ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }} + # deploy_docker_image: ${{ github.repository }}:${{ github.sha }} + deploy_docker_image: ${{ needs.build.outputs.image }}:${{ needs.build.outputs.image_tag }}