chore: update build pipeline
skip hugo, we need an old version
This commit is contained in:
parent
92ed8e8652
commit
f88250b072
|
@ -25,7 +25,7 @@ build_pages:
|
||||||
- hugo $(cat .hugo-params)
|
- hugo $(cat .hugo-params)
|
||||||
|
|
||||||
build_calendar:
|
build_calendar:
|
||||||
image: "python:3.7-alpine3.8"
|
image: "3.11.1-alpine3.17"
|
||||||
stage: calendar
|
stage: calendar
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_pages
|
- build_pages
|
||||||
|
@ -42,7 +42,7 @@ build_calendar:
|
||||||
- upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
- upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
||||||
|
|
||||||
deploy_staging:
|
deploy_staging:
|
||||||
image: "alpine:3.8"
|
image: "alpine:3.17"
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_calendar
|
- build_calendar
|
||||||
|
@ -67,7 +67,7 @@ deploy_staging:
|
||||||
- staging
|
- staging
|
||||||
|
|
||||||
deploy_production:
|
deploy_production:
|
||||||
image: "alpine:3.8"
|
image: "alpine:3.17"
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_calendar
|
- build_calendar
|
||||||
|
|
Loading…
Reference in a new issue