Skip to content

Commit

Permalink
avoid 403 error while rebuilding
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoamaral committed Oct 4, 2021
1 parent 3e187d1 commit c827060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
## BUILD THE WEBSITE
####
''')
args = ("/usr/local/bin/hugo", "-d", website_path,"--cacheDir", path, "--cleanDestinationDir")
args = ("/usr/local/bin/hugo", "-d", website_path,"--cacheDir", path)
popen = subprocess.Popen(args, stdout=subprocess.PIPE, universal_newlines=True)
popen.wait()
output = popen.stdout.read()
Expand Down

0 comments on commit c827060

Please sign in to comment.