diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index da0885d..1b9e742 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -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 diff --git a/.github/workflows/periodic-broken-link-checks.yml b/.github/workflows/periodic-broken-link-checks.yml index a38e2c3..65c1647 100644 --- a/.github/workflows/periodic-broken-link-checks.yml +++ b/.github/workflows/periodic-broken-link-checks.yml @@ -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 diff --git a/.github/workflows/vuepress-build-check-deploy.yml b/.github/workflows/vuepress-build-check-deploy.yml index fb3ab76..7953226 100644 --- a/.github/workflows/vuepress-build-check-deploy.yml +++ b/.github/workflows/vuepress-build-check-deploy.yml @@ -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 @@ -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