mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 20:05:50 +00:00
GHA: try adding PR preview to PR link check job
This commit is contained in:
25
.github/workflows/link-checker-pr.yml
vendored
25
.github/workflows/link-checker-pr.yml
vendored
@@ -44,12 +44,19 @@ jobs:
|
||||
echo 'EOF' >> $GITHUB_ENV
|
||||
cat linkreport.txt
|
||||
|
||||
# # Disabled because the ripple GitHub org doesn't allow the GITHUB_TOKEN to do this
|
||||
# - name: Comment Broken Links
|
||||
# uses: unsplash/comment-on-pr@master
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# if: always()
|
||||
# with:
|
||||
# msg: ${{ env.LINKREPORT }}
|
||||
# check_for_duplicate_msg: false
|
||||
- name: Comment Broken Links
|
||||
uses: unsplash/comment-on-pr@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: always()
|
||||
with:
|
||||
msg: ${{ env.LINKREPORT }}
|
||||
check_for_duplicate_msg: false
|
||||
|
||||
- name: Deploy preview to gh-pages
|
||||
uses: sauloxd/review-apps@v1.3.3
|
||||
with:
|
||||
build-cmd: "echo 'Using existing build'"
|
||||
branch: "gh-pages"
|
||||
dist: "out"
|
||||
slug: "pr-preview"
|
||||
|
||||
Reference in New Issue
Block a user