github: remove directory before next run
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
2eded4b165
commit
9ebe2df091
|
@ -34,7 +34,9 @@ jobs:
|
|||
|
||||
- name: Build prod
|
||||
if: "!contains(github.event.head_commit.message, '[skip prod]')"
|
||||
run: hugo --minify
|
||||
run: |
|
||||
rm -rf public/
|
||||
hugo --minify
|
||||
|
||||
- name: Deploy to prod
|
||||
if: "!contains(github.event.head_commit.message, '[skip prod]')"
|
||||
|
|
Loading…
Reference in New Issue