Skip to content

Commit

Permalink
Github Actions: Adding LinkChecker and installation from requirements…
Browse files Browse the repository at this point in the history
….txt into Workflow (#72)
  • Loading branch information
TOTON95 authored Nov 26, 2024
1 parent b326609 commit d8bc7bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs pymdown-extensions mkdocs-git-revision-date-localized-plugin
- name: Installing dependencies
run: pip install -r requirements.txt
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- run: mkdocs gh-deploy --force
- name: Build and Deployment
run: mkdocs gh-deploy --force
- name: Checking Links
run: mkdocs-linkcheck --sync -r docs/ -m get --verbose
continue-on-error: true
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mkdocs~=1.6.1
pymdown-extensions~=10.12
mkdocs-git-revision-date-localized-plugin~=1.3.0
mkdocs-linkcheck~=1.0.6
requests~=2.32.3

0 comments on commit d8bc7bd

Please sign in to comment.