2021-08-17 00:27:54 +00:00
|
|
|
image: shockrah/website:latest
|
2021-02-09 03:22:48 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- deploy
|
|
|
|
|
2021-08-17 00:11:10 +00:00
|
|
|
|
2021-02-09 03:22:48 +00:00
|
|
|
build-site:
|
2021-08-14 22:15:37 +00:00
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- master
|
|
|
|
|
2020-10-26 07:51:40 +00:00
|
|
|
stage: build
|
2021-02-09 03:43:48 +00:00
|
|
|
|
2020-10-26 07:51:40 +00:00
|
|
|
script:
|
2021-08-17 05:05:31 +00:00
|
|
|
- hugo version
|
2021-08-17 00:11:10 +00:00
|
|
|
- hugo
|
2021-02-09 03:22:48 +00:00
|
|
|
|
2021-02-09 03:43:48 +00:00
|
|
|
artifacts:
|
2021-08-17 00:11:10 +00:00
|
|
|
paths:
|
2022-01-19 23:37:18 +00:00
|
|
|
- public/
|
|
|
|
|
|
|
|
|
|
|
|
#deploy-neocities:
|
|
|
|
# # This might get really ugly with neocities so hang on a while before we bother
|
|
|
|
# # trying to figure how tf we deploy this thing
|
|
|
|
# only:
|
|
|
|
# refs:
|
|
|
|
# - neocities
|
|
|
|
#
|
|
|
|
# stage: deploy
|
|
|
|
#
|
|
|
|
# script:
|
|
|
|
# # First the html
|
|
|
|
# - bash upload.sh -h
|
|
|
|
# # then we do the media files
|
|
|
|
# - bash upload.sh -M
|
2021-02-09 03:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|