Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbliem committed Oct 14, 2024
1 parent 030c390 commit a076c29
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,25 @@ 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: runner-prod
container:
image: dokku/ci-docker-image:latest
steps:
- name: Push to dokku
# uses: dokku/github-action@master
# uses: docker://dokku/ci-docker-image:latest
# with:
# args: dokku-deploy
run: dokku-deploy
env:
# GIT_SSH_COMMAND: 'ssh -vvv'
# FIXME: Make configurable
GIT_REMOTE_URL: 'ssh://[email protected]:26228/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 }}
TRACE: '1'
# GIT_PUSH_FLAGS: -v

0 comments on commit a076c29

Please sign in to comment.