-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #305 from DeterminateSystems/link-checker-pt2
Add external link checking
- Loading branch information
Showing
7 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,35 @@ jobs: | |
test: | ||
environment: test | ||
runs-on: ubuntu-22.04 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@v3 | ||
- name: Check Nixpkgs input | ||
uses: DeterminateSystems/flake-checker-action@main | ||
with: | ||
fail-mode: true | ||
- name: Restore Lychee cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: .lycheecache | ||
key: lychee-link-check | ||
restore-keys: cache-lychee- | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: Run Nix CI suite | ||
run: nix develop --command ci | ||
- name: Check external links | ||
uses: lycheeverse/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
args: >- | ||
--cache | ||
--verbose | ||
--no-progress | ||
./dist | ||
fail: true | ||
- name: Check flake templates | ||
run: ./scripts/check-flake-templates.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ declare module '@vue/runtime-core' { | |
IconFaSolidMoon: typeof import('~icons/fa-solid/moon')['default'] | ||
IconFaSolidSun: typeof import('~icons/fa-solid/sun')['default'] | ||
IconFaWarning: typeof import('~icons/fa/warning')['default'] | ||
Island: typeof import('./node_modules/.pnpm/[email protected]_@types+node@18.18.6_typescript@5.2.2/node_modules/iles/dist/client/app/components/Island.vue')['default'] | ||
Island: typeof import('./node_modules/.pnpm/[email protected]_@types+node@18.19.3_typescript@5.3.3/node_modules/iles/dist/client/app/components/Island.vue')['default'] | ||
Language: typeof import('./src/components/mdx/stateful/Language.vue')['default'] | ||
Languages: typeof import('./src/components/mdx/stateful/Languages.vue')['default'] | ||
Modal: typeof import('./src/components/layout/Modal.vue')['default'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ | |
|
||
# Link checking | ||
htmltest | ||
lychee | ||
|
||
# JS | ||
nodejs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
exclude = [ | ||
'https://github.com\.*', | ||
] # TODO: remove this when we figure out a way around GitHub's rate limits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
483b95e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
zero-to-nix – ./
02nix.com
zero-to-nix.com
www.02nix.com
www.zero2nix.com
zerotwonix.com
zero2nix.com
0tonix.com
zerotonix.com
zerotoonix.com
www.0tonix.com
www.zerotonix.com
www.zerotwonix.com
www.zerotoonix.com
zero-to-nix.vercel.app
zero-to-nix-detsys.vercel.app
www.zero-to-nix.com
zero-to-nixos.com
zero-to-nix-git-main-detsys.vercel.app
www.zero-to-nixos.com