Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbliem committed Oct 12, 2024
1 parent 60e3bd2 commit a60b8d1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,30 @@ 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: harbor.kausal.tech/library/ubuntu:latest
steps:
# - name: ip addr
# run: ip addr
# - name: nc
# run: nc -zv 100.75.0.2 22
- name: Push to dokku
# uses: dokku/github-action@master
uses: docker://dokku/ci-docker-image:latest
with:
args: dokku-deploy
# FIXME: Make configurable
# git_remote_url: 'ssh://[email protected]:22/watch-dev'
git_remote_url: 'ssh://[email protected]: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 }}
# FIXME: remove after testing
git_push_flags: -v
trace: '1'
env:
GIT_SSH_COMMAND: 'ssh -vvv'

0 comments on commit a60b8d1

Please sign in to comment.