File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Website
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Setup node
14
+ uses : actions/setup-node@v4
15
+ with :
16
+ node-version : 20
17
+ - name : Clear dist folder
18
+ run : |
19
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
20
+ rm -rf dist/
21
+ - name : Install and build
22
+ run : |
23
+ npm install
24
+ npm run build
25
+ - name : Deploy to GitHub Pages
26
+ uses : peaceiris/actions-gh-pages@v3
27
+ with :
28
+ github_token : ${{ secrets.GITHUB_TOKEN }}
29
+ publish_dir : ./dist
30
+ user_name : ' GitHub Action'
31
+
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ declare module 'vue' {
12
12
BlogPosts : typeof import ( './components/BlogPosts.vue' ) [ 'default' ]
13
13
BlogTitle : typeof import ( './components/BlogTitle.vue' ) [ 'default' ]
14
14
FileLayout : typeof import ( './components/FileLayout.vue' ) [ 'default' ]
15
- Files : typeof import ( './components/Files.vue' ) [ 'default' ]
16
15
FollowLinks : typeof import ( './components/FollowLinks.vue' ) [ 'default' ]
17
16
GettingStarted : typeof import ( './components/GettingStarted.vue' ) [ 'default' ]
18
17
HelloApi : typeof import ( './components/HelloApi.vue' ) [ 'default' ]
You can’t perform that action at this time.
0 commit comments