Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Fix linter issues (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Aug 2, 2021
1 parent c58e9a7 commit 1853e85
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v3
uses: docker://ghcr.io/github/super-linter:slim-v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_JSCPD: false
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/periodic-broken-link-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ jobs:
mylabs.dev
run: |
if [ -s CNAME ]; then
export INPUT_URL="https://$(cat CNAME)"
INPUT_URL="https://$(cat CNAME)"
else
export INPUT_URL="https://${GITHUB_REPOSITORY%/*}.github.io/${GITHUB_REPOSITORY##*/}"
INPUT_URL="https://${GITHUB_REPOSITORY%/*}.github.io/${GITHUB_REPOSITORY##*/}"
fi
export INPUT_CMD_PARAMS="--verbose --buffer-size=8192 --max-connections=10 --color=always --exclude=($( echo ${EXCLUDE} | tr ' ' '|' ))"
export INPUT_URL
INPUT_CMD_PARAMS="--buffer-size=8192 --max-connections=10 --color=always --exclude=($( echo "${EXCLUDE}" | tr '\n' '|' ))"
export INPUT_CMD_PARAMS
wget -qO- https://raw.githubusercontent.com/ruzickap/action-my-broken-link-checker/v2/entrypoint.sh | bash
6 changes: 3 additions & 3 deletions .github/workflows/vuepress-build-check-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: npm install -g markdown-spellcheck

- name: Run mdspell
run: find . -type f \( -name "*.md" ! -name "CHANGELOG.md" \) | xargs --max-args=1 --verbose mdspell --ignore-numbers --ignore-acronyms --report --en-gb
run: find . -type f \( -name "*.md" ! -name "CHANGELOG.md" \) -print0 | xargs -0 --max-args=1 --verbose mdspell --ignore-numbers --ignore-acronyms --report --en-gb

vuepress-build-check-deploy:
runs-on: ubuntu-latest
Expand All @@ -73,14 +73,14 @@ jobs:
env:
INPUT_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
INPUT_PAGES_PATH: .
INPUT_CMD_PARAMS: --verbose --buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification --exclude=mylabs.dev
INPUT_CMD_PARAMS: --buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification --exclude=mylabs.dev
run: |
ln -s docs/.vuepress/dist ${{ github.event.repository.name }}
wget -qO- https://raw.githubusercontent.com/ruzickap/action-my-broken-link-checker/v2/entrypoint.sh | bash
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: ${{ github.event_name }} == 'push' && github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
Expand Down

0 comments on commit 1853e85

Please sign in to comment.