Skip to content

Commit 24cfff3

Browse files
committed
build: Documenation
1 parent 1958143 commit 24cfff3

File tree

4 files changed

+750
-18
lines changed

4 files changed

+750
-18
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,3 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
52-
deploy:
53-
name: Deploy
54-
runs-on: ubuntu-latest
55-
if: github.ref == 'refs/heads/master'
56-
57-
steps:
58-
- name: 'Install depependencies'
59-
run: |
60-
npm install --force
61-
- name: 'Build docs'
62-
run: |
63-
npm run build_docs
64-
- name: Deploy to GitHub Pages
65-
uses: peaceiris/actions-gh-pages@v4
66-
with:
67-
github_token: ${{ secrets.GITHUB_TOKEN }}
68-
publish_dir: ./dist

Taskfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ build() {
1313
}
1414

1515
build_docs() {
16-
vite build
16+
vite build --no-minify
17+
mv -vf dist docs
1718
}
1819

1920
"$@"

0 commit comments

Comments
 (0)