move to ./public folder

This commit is contained in:
Tony Brix 2020-12-13 02:18:49 -06:00
parent 761b4df442
commit 368159499b
3 changed files with 2 additions and 3 deletions

View File

@ -20,4 +20,3 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/dist

2
.gitignore vendored
View File

@ -77,4 +77,4 @@ xcuserdata
*.env
# built docs
docs/dist
public

View File

@ -71,7 +71,7 @@ function createHTML (header, footer, text) {
async function createDocs () {
const docs = path.join(__dirname, 'docs')
const dist = path.join(docs, 'dist')
const dist = path.join(__dirname, 'public')
await fs.rmdir(dist, { recursive: true })
await fs.mkdir(dist)