Skip to content

Commit

Permalink
Update .gitlab-ci.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
wadoon committed Nov 28, 2022
1 parent 29702df commit 563407b
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,10 @@ pages:
script:
- mkdocs build
- mv site public
- linkchecker -F html -t 5 --no-robots public/index.html || true
- mv linkchecker-out.html public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH


linkcheck:docs:
tags:
- tud
# rules:
# only execute if triggered by cronjob, to not trigger on pushes
# - if: $CI_PIPELINE_SOURCE == "schedule"
script:
- linkchecker -F html -t 5 --no-robots https://key-project.org/docs/ || true
- ls *html
- scp -pr linkchecker-out.html ${SECRET_USER}@${HOST}:${REMOTE_FOLDER}

0 comments on commit 563407b

Please sign in to comment.