Pushes the repository to Dokku
Find a file
2024-07-13 11:41:14 +10:00
action.yaml Fixed entrypoint of action 2024-07-13 10:58:34 +10:00
config.go Fixed private key env var 2024-07-13 11:34:30 +10:00
go.mod Removed the use of script 2024-07-13 11:21:00 +10:00
go.sum Initial version of the push to Dokku action 2024-07-13 10:48:01 +10:00
LICENSE Initial commit 2024-07-13 00:19:25 +00:00
main.go Fixed bug in template 2024-07-13 11:31:33 +10:00
README.md Added a bit of a readme 2024-07-13 11:41:14 +10:00
services.go Fixed bug in template 2024-07-13 11:31:33 +10:00

push-to-dokku

Action to push a remote repository to Dokku.

Usage

uses: https://lmika.dev/actions/push-to-dokku@v1
with:
  app: dokku-app-name
  host: dokku-host
  private-key: SSH key

Parameters are:

  • host: hostname of the Dokku instance to push the application to.
  • app: the Dokku application name.
  • private-key: the private SSH key

This action will write the private key to the .ssh instance and will push to the remote repository as the dokku user. Both the source and target branch must be main.