mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-06-08 23:42:37 +00:00
🔀 Fix broken CI after changing theme #4
(Merge branch 'fix-ci-4' into production) *240b41e
💚 Change new-theme path & runner image FIX #4 *5647e82
🔨 Move branch `master` to `production`
This commit is contained in:
commit
13b5eb8597
|
@ -1,23 +1,23 @@
|
|||
image: python:3.6-alpine
|
||||
image: python:3.8-alpine
|
||||
|
||||
publish:
|
||||
except:
|
||||
- master
|
||||
- production
|
||||
- devel
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- pelican -s pubconf-devel.py --fatal warnings
|
||||
- pelican -s pubconf-master.py --fatal warnings
|
||||
- pelican -s pubconf-production.py --fatal warnings
|
||||
|
||||
pages:
|
||||
only:
|
||||
- master
|
||||
- production
|
||||
- devel
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- date --utc +%H:%M > mytheme/templates/time
|
||||
- date --utc +%d/%m/%Y > mytheme/templates/date
|
||||
- echo $CI_COMMIT_SHORT_SHA > mytheme/templates/commit
|
||||
- date --utc +%H:%M > theme-uberspot/templates/time
|
||||
- date --utc +%d/%m/%Y > theme-uberspot/templates/date
|
||||
- echo $CI_COMMIT_SHORT_SHA > theme-uberspot/templates/commit
|
||||
- pelican -s "pubconf-${CI_COMMIT_REF_NAME}.py" --fatal warnings
|
||||
artifacts:
|
||||
when: on_success
|
||||
|
|
Loading…
Reference in New Issue
Block a user