Skip to content

Commit

Permalink
remove checking relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell committed Apr 30, 2024
1 parent 4bd6717 commit 0c2cd24
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/check-all-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
check-for-absolute-urls:
name: Check for Absolute URLs
name: "Check for absolute prisma.io urls"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,18 +50,14 @@ jobs:
fi
remark-lint:
name: runner / remark-lint
name: "Check for dead links"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

- name: Wait for preview deployment
run: sleep 180s
shell: bash

- name: Install deps
run: npm install

Expand All @@ -73,7 +69,7 @@ jobs:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: |
npx remark-cli . -qf -e=md,mdx --use=remark-mdx --use remark-frontmatter --use remark-gfm \
--use "remark-lint-no-dead-urls=gotOptions:{\"prefixUrl\":\"https://${BRANCH_NAME//\//-}.docs-51g.pages.dev\"},skipLocalhost:true,skipUrlPatterns:['https://www.notion.so/prismaio','https://www.prisma.io/docs','https://dash.cloudflare.com','https://www.cloudflare.com']"
--use "remark-lint-no-dead-urls=skipLocalhost:true,skipUrlPatterns:['https://www.notion.so/prismaio','https://www.prisma.io/docs','https://dash.cloudflare.com','https://www.cloudflare.com']"
# remark-lint:
# name: runner / remark-lint
Expand Down

0 comments on commit 0c2cd24

Please sign in to comment.