Skip to content

Commit

Permalink
feat(web): removes links checker
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Sep 24, 2024
1 parent b999a0f commit 4076908
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ on:
# tab for your repo to see this one running (the gh-pages deploy will also
# only show up there).
workflow_run:
workflows: [ "Release" ]
workflows: ["Release"]
types:
- completed

Expand All @@ -69,17 +69,7 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.6.1/oranda-installer.sh | sh
oranda build
- name: Prepare HTML for link checking
# untitaker/hyperlink supports no site prefixes, move entire site into
# a subfolder
run: mkdir /tmp/public/ && cp -R public /tmp/public/oranda
- name: Check HTML for broken internal links
uses: untitaker/[email protected]
with:
args: /tmp/public/

# Deploy to our gh-pages branch (creating it if it doesn't exist).
# The "public" dir that oranda made above will become the root dir
# of this branch.
Expand All @@ -96,4 +86,4 @@ jobs:
# Gotta tell the action where to find oranda's output
folder: public
token: ${{ secrets.GITHUB_TOKEN }}
single-commit: true
single-commit: true

0 comments on commit 4076908

Please sign in to comment.