Skip to content

Commit 04f051b

Browse files
authored
Update README.md
1 parent c2fe7e1 commit 04f051b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ The script fetches the repository and then checks out the most recent commit in
1717

1818
Any other files that exist in the target directory that are not tracked in the repo are not affected. This normally includes media files, configuration files, etc.
1919

20+
Optionally, you can specify commands to be executed in the git directory before rsync, and commands to be executed in the target directory after rsync.
21+
2022
At the end of each execution, the script writes a `VERSION` file in the target directory that contains the hash value of the latest commit that has been deployed. This is used in subsequent executions of the script to determine what is the last commit that was deployed and what files need to be deleted. If no version file is found the script assumes that there have been no previous deployments.
2123

2224
### Manual Use

0 commit comments

Comments
 (0)