+ Neocities and pages scripts built

This commit is contained in:
shockrah 2022-03-20 14:20:28 -07:00
parent beddd84836
commit 23220caf7a

View File

@ -21,20 +21,32 @@ build-site:
- 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
pages:
stage: deploy
needs:
- build-site
dependencies:
- build-site
# Dummy script to keep the job valid
script:
- >
if [ -d public/ ]; then
echo 'Public directory found'
else
echo 'Nothing found'
fi
artifacts:
paths:
- public/
neocities:
stage: deploy
needs:
- build-site
when: manual
dependencies:
- build-site
script:
- bash scripts/neocities.sh