File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ paths :
7
+ - ' docs/**'
8
+ jobs :
9
+ push-to-vercel :
10
+ name : Push to Vercel
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
16
+ - name : Use Node.js 12
17
+ uses : actions/setup-node@v1
18
+ with :
19
+ node-version : 12
20
+ - name : Install deps and build (with cache)
21
+ uses : bahmutov/npm-install@v1
22
+ - name : Install Vercel CLI
23
+ run : |
24
+ npm install -g vercel
25
+ - name : Deploy to Vercel
26
+ env :
27
+ VERCEL_TOKEN : ${{ secrets.VERCEL_TOKEN }}
28
+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
29
+ VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
30
+ run : |
31
+ vercel --prod --token="$VERCEL_TOKEN" -f
Original file line number Diff line number Diff line change
1
+ {
2
+ "project" : " orval"
3
+ }
You can’t perform that action at this time.
0 commit comments