Add preview website generation
All checks were successful
Deploy / Deploy (push) Successful in 6s

This commit is contained in:
Vezpi 2025-05-02 21:13:59 +02:00
parent 7d1023096e
commit eafb0c991d

View File

@ -33,4 +33,7 @@ jobs:
tar -xzvf hugo.tar.gz -C ${BLOG_FOLDER}/bin/ tar -xzvf hugo.tar.gz -C ${BLOG_FOLDER}/bin/
- name: Generate the static files with Hugo - name: Generate the static files with Hugo
run: ${BLOG_FOLDER}/bin/hugo -s ${BLOG_FOLDER} -d ${BLOG_FOLDER}/public run: |
rm -f ${BLOG_FOLDER}/content/posts/template.md
${BLOG_FOLDER}/bin/hugo -D -s ${BLOG_FOLDER} -d ${BLOG_FOLDER}/private
${BLOG_FOLDER}/bin/hugo -s ${BLOG_FOLDER} -d ${BLOG_FOLDER}/public