File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ ame : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ permissions :
8
+ contents : write
9
+ jobs :
10
+ deploy :
11
+ concurrency : ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout 🛎️
15
+ uses : actions/checkout@v4
16
+ - name : Setup Node.js 📦
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : ' 23'
20
+ - name : Install Dependencies 📥
21
+ run : yarn --frozen-lockfile
22
+ - name : Build Project 🔧
23
+ run : |
24
+ mkdir -p src/generated && yarn protoc \
25
+ --ts_out src/generated/ \
26
+ --ts_opt long_type_string \
27
+ --proto_path ./protos \
28
+ --ts_opt ts_nocheck \
29
+ ./protos/*.proto
30
+ yarn build
31
+ env :
32
+ VITE_GRPC_BACKEND : " https://whisper-notes-api.shivanshs9.me"
33
+ - name : Deploy 🚀
34
+ uses : JamesIves/github-pages-deploy-action@v4
35
+ with :
36
+ branch : gh-pages
37
+ folder : dist
You can’t perform that action at this time.
0 commit comments