Skip to content

Commit

Permalink
Revert "chore: 배포 프리뷰 comment 테스트"
Browse files Browse the repository at this point in the history
This reverts commit 5e38d70.
  • Loading branch information
WooWan committed Jul 26, 2024
1 parent 5e38d70 commit 072c4f1
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/deploy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches-ignore:
- main
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
Expand All @@ -18,22 +19,4 @@ jobs:
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
id: deploy
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

- name: Find Comment
uses: peter-evans/find-comment@v2
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: "github-actions[bot]"
body-includes: Preview deployed to
- name: Create or Update Comment
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
Preview deployed to: ${{ steps.deploy.outputs.url }}
Last updated: ${{ github.event.pull_request.updated_at }}
edit-mode: replace

0 comments on commit 072c4f1

Please sign in to comment.