move to ./public folder
This commit is contained in:
parent
761b4df442
commit
368159499b
|
@ -20,4 +20,3 @@ jobs:
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./docs/dist
|
|
||||||
|
|
|
@ -77,4 +77,4 @@ xcuserdata
|
||||||
*.env
|
*.env
|
||||||
|
|
||||||
# built docs
|
# built docs
|
||||||
docs/dist
|
public
|
||||||
|
|
|
@ -71,7 +71,7 @@ function createHTML (header, footer, text) {
|
||||||
|
|
||||||
async function createDocs () {
|
async function createDocs () {
|
||||||
const docs = path.join(__dirname, 'docs')
|
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.rmdir(dist, { recursive: true })
|
||||||
await fs.mkdir(dist)
|
await fs.mkdir(dist)
|
||||||
|
|
Loading…
Reference in New Issue