diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 0000000..b754474 --- /dev/null +++ b/.github/workflows/check-links.yml @@ -0,0 +1,16 @@ +name: Check Markdown links + +on: + push: + schedule: + - cron: "0 9 * * 0" + +jobs: + markdown-link-check: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - run: ls -al + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-verbose-mode: 'yes' diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8e83111..79658b1 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -12,16 +12,20 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - uses: actions/checkout@v4 + - name: Configure Git Credentials run: | git config user.name github-actions[bot] git config user.email github-actions[bot]@users.noreply.github.com + - uses: actions/setup-python@v4 with: python-version: 3.12 cache: 'pip' # caching pip dependencies + - name: Install Dependencies run: pip install -r requirements.txt + - name: Deploy if: ${{ github.ref == 'refs/heads/main' }} run: mkdocs gh-deploy --strict --force diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 0000000..e9cb584 --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "^http://localhost" + } + ] +}