Merge pull request #6576 from menloresearch/docs/clean-output-dir
docs: add clean output dir step
This commit is contained in:
commit
4f7236d72a
3
.github/workflows/jan-docs.yml
vendored
3
.github/workflows/jan-docs.yml
vendored
@ -53,6 +53,9 @@ jobs:
|
||||
- name: Install dependencies
|
||||
working-directory: docs
|
||||
run: yarn install
|
||||
- name: Clean output directory
|
||||
working-directory: docs
|
||||
run: rm -rf out/* .next/*
|
||||
- name: Build website
|
||||
working-directory: docs
|
||||
run: export NODE_ENV=production && yarn build && cp _redirects out/_redirects && cp _headers out/_headers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user