🤖 Tutorials deployment from 8b527f4a0fbf82ffe8ca2b677efa2b327fe… #1582
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Links | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "00 18 * * *" | |
| jobs: | |
| linkChecker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: 'gh-pages' | |
| - name: Link Checker | |
| uses: lycheeverse/lychee-action@v2.0.2 | |
| with: | |
| args: --verbose --no-progress **/*.html --exclude=".+gstatic.+" --exclude="https://doi.org.+" --exclude="https://github.com/JuliaSmoothOptimizers/PACKAGE.jl" | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: Success? | |
| run: if [ ! -f lychee/out.md ]; then mkdir -p lychee; echo "All tests links are working" > lychee/out.md; fi | |
| - name: Create Issue From File | |
| uses: peter-evans/create-issue-from-file@v3 | |
| with: | |
| title: Link Checker Report | |
| content-filepath: ./lychee/out.md | |
| issue-number: 23 | |
| labels: report, automated issue |