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 8eedadb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,28 @@ 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
env:
# GIT_SSH_COMMAND: 'ssh -vvv'
# FIXME: Make configurable
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 }}
TRACE: '1'
# GIT_PUSH_FLAGS: -v

0 comments on commit 8eedadb

Please sign in to comment.