Skip to content
Snippets Groups Projects
Commit 3cbcb599 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Search only for README.html and symlink to index.html

parent cb66331e
No related branches found
No related tags found
1 merge request!47Search only for README.html and symlink to index.html
Loading
Loading
@@ -12,7 +12,7 @@ pages:
- ruby generate.rb
# Symlink all README.html to index.html for backwards compatibility. The site
# was deployed in a VPS and served by NGINX.
- find public -type d -not -path public | xargs -I{} ln -s README.html "{}/index.html"
- for i in `find public -name README.html`; do ln -sf README.html $(dirname $i)/index.html; done
artifacts:
paths:
- public/
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment