Skip to content

Commit 4f7236d

Browse files
authored
Merge pull request #6576 from menloresearch/docs/clean-output-dir
docs: add clean output dir step
2 parents 4dc55fc + 91e30d3 commit 4f7236d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/jan-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
- name: Install dependencies
5454
working-directory: docs
5555
run: yarn install
56+
- name: Clean output directory
57+
working-directory: docs
58+
run: rm -rf out/* .next/*
5659
- name: Build website
5760
working-directory: docs
5861
run: export NODE_ENV=production && yarn build && cp _redirects out/_redirects && cp _headers out/_headers

0 commit comments

Comments
 (0)