We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent becfd90 commit eb55f58Copy full SHA for eb55f58
1 file changed
.github/workflows/build_vue.yml
@@ -0,0 +1,33 @@
1
+name: Deploy Vue
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+permissions:
8
+ contents: write
9
+ pages: write
10
+ id-token: write
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v3
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v3
20
+ with:
21
+ node-version: 20
22
23
+ - name: Install dependencies
24
+ run: npm install
25
26
+ - name: Build project
27
+ run: npm run build
28
29
+ - name: Deploy to GitHub Pages
30
+ uses: peaceiris/actions-gh-pages@v7
31
32
+ github_token: ${{ secrets.GITHUB_TOKEN }}
33
+ publish_dir: ./dist
0 commit comments