master
Marcell Mars 3 years ago
parent eab5da2e92
commit 5f7abdbbfe

@ -25,12 +25,12 @@ regarding scenarion `sphook` will be renamed into `.git/hooks/post-commit`, `git
its task is simple: it takes content from `content/` directory and run `hugo` against it. it places the output into:
```
/var/www/html/sandpoints/{hugo_project_name}-{`crc32ChecksumIEEE(git_repo_path)`}
/var/www/html/sandpoints/{hugo_project_name}-{`crc32.ChecksumIEEE(git_repo_path)`}
```
it is good to check out the logs of git commit in order to find the path of that directory. once that's done logs will be placed in both:
```
/var/www/html/sandpoints/{hugo_project_name}-{`crc32ChecksumIEEE(git_repo_path)`}/last-commit-log.txt
/var/www/html/sandpoints/{hugo_project_name}-{`crc32.ChecksumIEEE(git_repo_path)`}/last-commit-log.txt
/var/www/html/sandpoints/{hugo_project_name}-{`crc32ChecksumIEEE(git_repo_path)`}/_preview/last-commit-log.txt
/var/www/html/sandpoints/{hugo_project_name}-{`crc32.ChecksumIEEE(git_repo_path)`}/_preview/last-commit-log.txt
```
Loading…
Cancel
Save