chore: refine Dockerfile for Prisma client generation and startup script #175
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Dokku | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Cloning repo | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to dokku | |
| uses: dokku/github-action@master | |
| with: | |
| branch: "main" | |
| git_remote_url: "ssh://dokku@${{ secrets.DOKKU_IP }}:22/${{ secrets.DOKKU_APP_NAME }}" | |
| ssh_private_key: ${{ secrets.SSH_DOKKU_PRIVATE_KEY }} |