We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab69acd commit f85723eCopy full SHA for f85723e
.github/workflows/deploy-prep.py
@@ -0,0 +1,10 @@
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()
.github/workflows/deploy-prep.yml
@@ -0,0 +1,20 @@
+name: Deployment Prep
+on:
+ workflow_dispatch:
+ push:
+ branches:
+ - master
+jobs:
+ config:
+ 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"
0 commit comments