1
0
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:
Freezed 2020-09-07 01:08:33 +02:00
commit 13b5eb8597
2 changed files with 7 additions and 7 deletions

View File

@ -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