Skip to content

Commit

Permalink
Update vercel-preview.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ranic authored Apr 9, 2024
1 parent 930a74b commit c028c56
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/vercel-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@ jobs:
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
run: |
URL=$(vercel deploy \
--prebuilt \
--token=${{ secrets.VERCEL_TOKEN }})
echo "url=$URL" >> "$GITHUB_OUTPUT"
Link-Checker:
runs-on: ubuntu-latest
needs: Deploy-Preview
steps:
- name: HashiCorp's Link Checker
uses: hashicorp/gh-action-check-broken-links@v1
with:
baseUrl: ${{ steps.Deploy-Preview.outputs.url }}

0 comments on commit c028c56

Please sign in to comment.