Skip to content

Commit

Permalink
teste generate_content.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
giovana-morais committed Oct 12, 2023
1 parent 54e108d commit d0bee2a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion generate_content.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#!/bin/bash
pelican /app/content -o /app/public -s publishconf.py
pelican /app/content -o /app/public -s /app/publishconf.py

# check for a good exit
if [ $? -ne 0 ]
then
# something went wrong; convey that and exit
exit 1
fi

chmod 755 /app/public

0 comments on commit d0bee2a

Please sign in to comment.