File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -137,12 +137,6 @@ jobs:
137137 - name : Install Vercel CLI
138138 run : npm install --global vercel@latest
139139
140- - name : Configure Git for Vercel
141- working-directory : ${{ matrix.project.path }}
142- run : |
143- git config user.name "github-actions[bot]"
144- git config user.email "support@resilientdb.com"
145-
146140 - name : Pull Vercel Environment Information
147141 working-directory : ${{ matrix.project.path }}
148142 env :
@@ -158,6 +152,17 @@ jobs:
158152
159153 vercel pull --yes --environment=production --token=$VERCEL_TOKEN || echo "Could not pull Vercel config, continuing..."
160154
155+ - name : Set deploy commit author
156+ working-directory : ${{ matrix.project.path }}
157+ run : |
158+ # Configure git user
159+ git config user.name "github-actions[bot]"
160+ git config user.email "support@resilientdb.com"
161+
162+ # Create an empty commit with the correct author to override previous commit author
163+ # This helps Vercel identify the correct author for team access
164+ git commit --allow-empty -m "chore: update commit author for Vercel deployment" --reset-author || echo "No changes to commit"
165+
161166 - name : Deploy to Vercel
162167 working-directory : ${{ matrix.project.path }}
163168 env :
You can’t perform that action at this time.
0 commit comments