Skip to content

Commit

Permalink
Fix Vercel REPL action
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Apr 17, 2023
1 parent 8045a32 commit 04fa036
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/repl-artefacts.yml
Expand Up @@ -74,15 +74,14 @@ jobs:
or load it into the REPL:
https://rollupjs.org/repl/?pr=${{ github.event.number }}
- name: Update comment for Vercel deploy
uses: patrickedqvist/wait-for-vercel-preview@v1
- name: Wait for Vercel deploy
uses: aaimio/vercel-preview-url-action@v2.0.0
id: waitForVercel
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 60
- name: Update comment for Netlify
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update comment for Vercel deploy
uses: peter-evans/create-or-update-comment@v3
if: ${{ steps.waitForVercel.outputs.url }}
if: ${{ steps.waitForVercel.outputs.vercel_preview_url }}
with:
comment-id: ${{ steps.createInitialComment.outputs.comment-id }}
issue-number: ${{ github.event.number }}
Expand All @@ -97,4 +96,4 @@ jobs:
```
or load it into the REPL:
${{ steps.waitForVercel.outputs.url }}/repl/?pr=${{ github.event.number }}
${{ steps.waitForVercel.outputs.vercel_preview_url }}/repl/?pr=${{ github.event.number }}

0 comments on commit 04fa036

Please sign in to comment.