initial commit
This commit is contained in:
23
.gitea/workflows/deploy.yml
Normal file
23
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,23 @@
|
||||
name: 'Deploy To Dokku'
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
container: node:24
|
||||
steps:
|
||||
- name: Cloning repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Push to dokku
|
||||
uses: dokku/github-action@master
|
||||
with:
|
||||
# TODO: set the dokku app name
|
||||
git_remote_url: 'ssh://dokku@192.168.1.2:22/website-template'
|
||||
ssh_private_key: ${{ secrets.DOKKU_DEPLOY_KEY }}
|
||||
Reference in New Issue
Block a user