Added option to configure the source and target branch
This commit is contained in:
parent
7999a86f58
commit
ec773bc57d
3 changed files with 28 additions and 8 deletions
|
|
@ -5,7 +5,7 @@ Action to push a remote repository to Dokku.
|
|||
## Usage
|
||||
|
||||
```
|
||||
uses: https://lmika.dev/actions/push-to-dokku@v1
|
||||
uses: https://lmika.dev/actions/push-to-dokku@v1.1
|
||||
with:
|
||||
app: dokku-app-name
|
||||
host: dokku-host
|
||||
|
|
@ -17,6 +17,8 @@ Parameters are:
|
|||
- `host`: hostname of the Dokku instance to push the application to.
|
||||
- `app`: the Dokku application name.
|
||||
- `private-key`: the private SSH key
|
||||
- `source-branch`: the code branch to push (default = `main`)
|
||||
- `target-branch`: the Dokku branch to push to (default = same as source-branch)
|
||||
|
||||
This action requires Go 1.22.4 or later.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue