We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e6eb7 commit 5dc058eCopy full SHA for 5dc058e
.github/workflows/main.yml
@@ -53,12 +53,12 @@ jobs:
53
steps:
54
- name: Checkout
55
uses: actions/checkout@v4
56
- - name: Deploy to server
57
- uses: easingthemes/ssh-deploy@main
58
with:
59
- SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
60
- REMOTE_HOST: ${{ secrets.SSH_HOST }}
61
- REMOTE_USER: ${{ secrets.SSH_USERNAME }}
62
- SOURCE: docker-compose.yaml
63
- SCRIPT_AFTER: |
64
- TAG=${{ github.ref_name }} docker compose up -d
+ fetch-depth: 0
+
+ - name: Push to dokku
+ uses: dokku/github-action@master
+ with:
+ git_remote_url: 'ssh://dokku@${{ vars.DOKKU_HOST }}:22/${{ vars.DOKKU_APP_NAME }}'
+ ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
+ deploy_docker_image: 'ghcr.io/itsamirhn/bonbast-api:${{ github.ref_name }}'
0 commit comments