File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 - name : Upload artifact
4848 uses : actions/upload-pages-artifact@v3
4949 with :
50- path : docs/dist
50+ # 用绝对路径:job 设了 working-directory: docs,upload-pages-artifact 内部
51+ # 的 tar 会继承该目录,相对路径 docs/dist 会被当成 docs/docs/dist 而找不到。
52+ path : ${{ github.workspace }}/docs/dist
5153
5254 deploy :
5355 needs : build
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " codeforge-website" ,
3+ "type" : " module" ,
4+ "version" : " 1.0.0" ,
5+ "private" : true ,
6+ "scripts" : {
7+ "dev" : " vite" ,
8+ "build" : " vite-ssg build" ,
9+ "preview" : " vite preview"
10+ },
11+ "dependencies" : {
12+ "vue" : " ^3.5.13" ,
13+ "vue-i18n" : " ^11.4.6" ,
14+ "vue-router" : " ^4.5.0"
15+ },
16+ "devDependencies" : {
17+ "@unhead/vue" : " ^1.11.14" ,
18+ "@vitejs/plugin-vue" : " ^5.2.1" ,
19+ "@vue/tsconfig" : " ^0.7.0" ,
20+ "autoprefixer" : " ^10.4.20" ,
21+ "markdown-it-anchor" : " ^9.2.0" ,
22+ "postcss" : " ^8.4.49" ,
23+ "tailwindcss" : " ^3.4.17" ,
24+ "typescript" : " ^5.7.2" ,
25+ "unplugin-vue-markdown" : " ^28.3.1" ,
26+ "vite" : " ^6.0.7" ,
27+ "vite-ssg" : " ^0.24.1" ,
28+ "vue-tsc" : " ^2.2.0"
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments