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 576c338 commit c6ab75aCopy full SHA for c6ab75a
.github/workflows/deploy.yml
@@ -0,0 +1,25 @@
1
+name: Deploy Vite to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+jobs:
10
+ deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v3
15
16
+ - name: Install dependencies and build
17
+ run: |
18
+ npm install
19
+ npm run build
20
21
+ - name: Deploy to GitHub Pages
22
+ uses: JamesIves/github-pages-deploy-action@v4
23
+ with:
24
+ branch: gh-pages
25
+ folder: dist
0 commit comments