Skip to content

Commit

Permalink
Fix symlinking README.html -> index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenno authored and manoelcampos committed Mar 25, 2022
1 parent 2a5fa74 commit b450597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ eval "$INPUT_PRE_BUILD"
if [[ $INPUT_SLIDES_SKIP_ASCIIDOCTOR_BUILD == false ]]; then
echo "Converting AsciiDoc files to HTML"
find . -name "*$INPUT_ADOC_FILE_EXT" -exec asciidoctor -b html $INPUT_ASCIIDOCTOR_PARAMS {} \;
find . -name "README.html" -exec ln -s "README.html" "$(dirname {})/index.html" \;
find . -name "README.html" -execdir ln -s "README.html" "index.html" \;
find . -name "*$INPUT_ADOC_FILE_EXT" -exec git rm -f --cached {} \;
fi

Expand Down

0 comments on commit b450597

Please sign in to comment.