Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
davay42 committed Mar 27, 2024
1 parent 42214d1 commit 299ee76
Show file tree
Hide file tree
Showing 3 changed files with 753 additions and 1,025 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy to GitHub Pages

on:
workflow_dispatch:
repository_dispatch:
types:
- buildhook

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Enable Corepack
run: |
corepack enable
corepack prepare pnpm@latest --activate
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build project
run: pnpm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_dist
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@
"deploy": "sh deploy.sh"
},
"dependencies": {
"@unocss/reset": "^0.58.0",
"@vueuse/core": "^10.7.0",
"@vueuse/gesture": "^2.0.0-beta.1",
"@vueuse/math": "^10.7.0",
"@unocss/reset": "^0.58.7",
"@vueuse/core": "^10.9.0",
"@vueuse/gesture": "^2.0.0",
"@vueuse/math": "^10.9.0",
"fuse.js": "^7.0.0",
"github-markdown-css": "^5.5.0",
"ol": "^8.2.0",
"github-markdown-css": "^5.5.1",
"ol": "^9.1.0",
"vitepress-pages": "^2.0.1",
"vue": "^3.3.13"
"vue": "^3.4.21"
},
"devDependencies": {
"@iconify/json": "^2.2.159",
"@unocss/extractor-pug": "^0.58.0",
"@iconify/json": "^2.2.196",
"@unocss/extractor-pug": "^0.58.7",
"markdown-it-classy": "^0.2.0",
"markdown-it-container": "^4.0.0",
"markdown-it-external-links": "^0.0.6",
"markdown-it-wikilinks": "^1.4.0",
"pug": "^3.0.2",
"sitemap": "^7.1.1",
"unocss": "^0.58.0",
"unplugin-auto-import": "^0.17.2",
"unplugin-icons": "^0.18.1",
"unocss": "^0.58.7",
"unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.18.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.10",
"vite-plugin-windicss": "^1.9.2",
"vitepress": "^1.0.0-rc.32"
"vite": "^5.0.13",
"vite-plugin-windicss": "^1.9.3",
"vitepress": "^1.0.1"
}
}
Loading

0 comments on commit 299ee76

Please sign in to comment.