Skip to content

Commit e7df014

Browse files
committed
refactor: ci preview action output statis fix (#183)
1 parent fc22394 commit e7df014

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci-preview.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ env:
88
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
99
NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
1010
on:
11-
push:
12-
branches-ignore:
13-
- develop
1411
pull_request:
15-
branches-ignore:
12+
branches:
1613
- develop
1714

1815
jobs:
@@ -49,6 +46,7 @@ jobs:
4946
deploy-vercel:
5047
runs-on: ubuntu-latest
5148
outputs:
49+
statis: ${{ job.status }}
5250
preview_url: ${{ steps.vercel_preview_url.outputs.preview_url }}
5351
currnent_time: ${{ steps.current-time.outputs.formattedTime }}
5452
needs: build
@@ -104,7 +102,7 @@ jobs:
104102
env:
105103
GITHUB_TOKEN: ${{ secrets.TOKEN }}
106104
with:
107-
comment-tag: ${{ github.event.number }}-vercel
105+
comment-tag: ${{ github.event.number }}
108106
message: |
109107
110108
🧷 vercel: ${{ needs.deploy-vercel.outputs.preview_url }}

0 commit comments

Comments
 (0)