Skip to content

Commit

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

0 comments on commit 5314d23

Please sign in to comment.