File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ import os
2+
3+ file = open ('./vercel.json' , 'r' )
4+ str = file .read ()
5+ file = open ('./vercel.json' , 'w' )
6+
7+ str = str .replace ('"maxDuration": 10' , '"maxDuration": 30' )
8+
9+ file .write (str )
10+ file .close ()
Original file line number Diff line number Diff line change 1+ name : Deployment Prep
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ config :
10+ if : github.repository == 'anuraghazra/github-readme-stats'
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Deployment Prep
15+ run : python ./.github/workflows/deploy-prep.py
16+ - uses : stefanzweifel/git-auto-commit-action@v4
17+ with :
18+ branch : vercel
19+ create_branch : true
20+ push_options : " --force"
Original file line number Diff line number Diff line change 22 "functions" : {
33 "api/*.js" : {
44 "memory" : 128 ,
5- "maxDuration" : 30
5+ "maxDuration" : 10
66 }
77 },
88 "redirects" : [
You can’t perform that action at this time.
0 commit comments