Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zuo committed Mar 6, 2024
0 parents commit dc01918
Show file tree
Hide file tree
Showing 30 changed files with 23,907 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Deploy
on: # 监听 main 分支上的 push 事件
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest # 构建环境使用 ubuntu
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install and Build # 下载依赖 打包项目
run: |
npm install
npm run build
- name: Deploy # 将打包内容发布到 github page
uses: JamesIves/[email protected] # 使用别人写好的 actions
with: # 自定义环境变量
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: ./.vitepress/dist
REPOSITORY_NAME: dev-zuo/dev-zuo.github.io # 这是我的 github page 地址
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
node_modules
.DS_Store
dist
dist-ssr
build
lib
types
*.local
pnpm-lock.yaml
package-lock.json
yarn-error.log
.history
.vscode
.idea
lerna-debug.log
metadata.json
31 changes: 31 additions & 0 deletions .vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"hash": "5f6dd217",
"configHash": "b81b2560",
"lockfileHash": "d2a190c7",
"browserHash": "689552db",
"optimized": {
"vue": {
"src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "be06e1f8",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../node_modules/@vue/devtools-api/dist/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "e7b5d7dc",
"needsInterop": false
},
"vitepress > @vueuse/core": {
"src": "../../../node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "d2100519",
"needsInterop": false
}
},
"chunks": {
"chunk-Z6B2QTD3": {
"file": "chunk-Z6B2QTD3.js"
}
}
}
Loading

0 comments on commit dc01918

Please sign in to comment.