File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' Docs Deploy'
2+
3+ on :
4+ release :
5+ types : ['published']
6+
7+ jobs :
8+ deploy :
9+ name : ' Deploy'
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : ' 16.x'
17+ - working-directory : docs
18+ run : |
19+ npm install
20+ npm run build
21+ npx netlify deploy --dir=_site --message='Docs deploy ${{ github.event.release.tag_name }}'
22+ env :
23+ NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
24+ NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
25+ NETLIFY_DEPLOY_TO_PROD : true
Original file line number Diff line number Diff line change 3030 "imagemin-cli" : " ^7.0.0" ,
3131 "markdown-it" : " ^12.2.0" ,
3232 "markdown-it-anchor" : " ^8.1.2" ,
33+ "netlify-cli" : " ^10.3.1" ,
3334 "node-sass" : " ^6.0.1" ,
3435 "npm-run-all" : " ^4.1.5" ,
3536 "rimraf" : " ^3.0.2" ,
You can’t perform that action at this time.
0 commit comments