File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,15 +100,28 @@ jobs:
100100 - name : Vercel Pull/Build/Deploy (Preview)
101101 working-directory : examples/vite
102102 if : ${{ github.ref_name != 'master' }}
103- run : >
103+ run : >-
104104 npx vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} &&
105105 npx vercel build &&
106- npx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} 2>&1 | tail -n 1 >> $GITHUB_STEP_SUMMARY
106+ npx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
107107
108108 - name : Vercel Pull/Build/Deploy (Production)
109109 working-directory : examples/vite
110110 if : ${{ github.ref_name == 'master' }}
111- run : >
111+ run : >-
112112 npx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} &&
113113 npx vercel build --prod &&
114114 npx vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
115+
116+ - name : Update title
117+ env :
118+ GH_TOKEN : ${{ github.token }}
119+ run : |
120+ gh api \
121+ --method PATCH \
122+ /repos/${{ github.repository }}/check-runs/${{ github.run_id }} \
123+ --input - <<< '{
124+ "output": {
125+ "title": "Mighty Readme report",
126+ }
127+ }'
You can’t perform that action at this time.
0 commit comments