Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
polyzen committed Jul 1, 2020
1 parent f9a4159 commit c185826
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
linkcheck:
default:
image: registry.gitlab.com/paddy-hack/sphinx
artifacts:
paths:
- public

linkcheck:
script: make -e SPHINXOPTS='--color' linkcheck

build:
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
image: registry.gitlab.com/paddy-hack/sphinx
cache:
paths:
- .cache/pip
Expand All @@ -14,9 +18,6 @@ build:
- make -e SPHINXOPTS='--color' dirhtml
after_script:
- mv _build/dirhtml public
artifacts:
paths:
- public
except:
- schedules

Expand All @@ -25,12 +26,8 @@ pages:
variables:
GIT_STRATEGY: none
image: alpine
script:
- find public -type f -regex '.*\.\(css\|html\|ico\|js\|png\)' -exec
gzip -k {} +
artifacts:
paths:
- public
script: find public -type f -regex '.*\.\(css\|html\|ico\|js\|png\)' -exec
gzip -k {} +
only:
- master
except:
Expand Down

0 comments on commit c185826

Please sign in to comment.