Skip to content

Commit 41d4ee4

Browse files
tmp
1 parent 9c21384 commit 41d4ee4

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff 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+
}'

0 commit comments

Comments
 (0)