mirror of
https://github.com/kolaente/Simple-Git-Deploy.git
synced 2023-09-04 21:52:08 +00:00
Updated Readme
This commit is contained in:
parent
5bc2015ca8
commit
425b20c4b1
22
Readme.md
22
Readme.md
|
@ -10,15 +10,23 @@ Triggered by a webhook (like the one from github), it can be very useful when yo
|
||||||
Usage is pretty simple. Simply configure the application via config.ini:
|
Usage is pretty simple. Simply configure the application via config.ini:
|
||||||
|
|
||||||
```
|
```
|
||||||
ssh_key=/path/to/deploy-key # Path to the Deploy-SSH
|
ssh_key=/path/to/deploy-key
|
||||||
git_url=ssh://git@your-server.tld/gitproject.git # SSH-Path to your Git-Project
|
git_url=ssh://git@your-server.tld/gitproject.git
|
||||||
deploy_dir=/path/to/deploy/dir # The folder to which the updated version of your site will be deployed. You need write permissions.
|
deploy_dir=/path/to/deploy/dir
|
||||||
container_name= # If you run your site within a docker-container, the application can automatically restart the container for any changes to take effect.
|
container_name=
|
||||||
secret= # The Secret sent by the webhook - to prevent abuse
|
secret= iamverySecret
|
||||||
interface=":8080" # The interface the server should listen on
|
interface=":8080"
|
||||||
branch_name=refs/heads/master # The name of the branch. If an update to this branch is triggered, the application will run the update.
|
branch_name=refs/heads/master
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* **ssh_key:** Path to the Deploy-SSH
|
||||||
|
* **git_url:** SSH-Path to your Git-Project
|
||||||
|
* **deploy_dir:** The folder to which the updated version of your site will be deployed. You need write permissions.
|
||||||
|
* **container_name:** If you run your site within a docker-container, the application can automatically restart the container for any changes to take effect.
|
||||||
|
* **secret:** The Secret sent by the webhook - to prevent abuse
|
||||||
|
* **interface:** The interface the server should listen on
|
||||||
|
* **branch_name:** The name of the branch. If an update to this branch is triggered, the application will run the update.
|
||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
|
||||||
### Not Cloning - the script runs pretty fast but wont clone
|
### Not Cloning - the script runs pretty fast but wont clone
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
ssh_key=/home/konrad/Schreibtisch/life-wob/life-deploy
|
ssh_key=/path/to/deploy-key # Path to the Deploy-SSH
|
||||||
git_url=ssh://git@git.mowie.cc:9022/Websites/Life-Homepage.git
|
git_url=ssh://git@your-server.tld/gitproject.git # SSH-Path to your Git-Project
|
||||||
deploy_dir=/home/konrad/Schreibtisch/life-wob/html
|
deploy_dir=/path/to/deploy/dir # The folder to which the updated version of your site will be deployed. You need write permissions.
|
||||||
container_name=
|
container_name= # If you run your site within a docker-container, the application can automatically restart the container for any changes to take effect.
|
||||||
secret=Baum
|
secret= # The Secret sent by the webhook - to prevent abuse
|
||||||
interface=":8080"
|
interface=":8080" # The interface the server should listen on
|
||||||
branch_name=refs/heads/master
|
branch_name=refs/heads/master # The name of the branch. If an update to this branch is triggered, the application will run the update.
|
Loading…
Reference in New Issue
Block a user