+ Neocities and pages scripts built
This commit is contained in:
parent
beddd84836
commit
23220caf7a
@ -21,20 +21,32 @@ build-site:
|
|||||||
- public/
|
- public/
|
||||||
|
|
||||||
|
|
||||||
#deploy-neocities:
|
pages:
|
||||||
# # This might get really ugly with neocities so hang on a while before we bother
|
stage: deploy
|
||||||
# # trying to figure how tf we deploy this thing
|
needs:
|
||||||
# only:
|
- build-site
|
||||||
# refs:
|
dependencies:
|
||||||
# - neocities
|
- build-site
|
||||||
#
|
# Dummy script to keep the job valid
|
||||||
# stage: deploy
|
script:
|
||||||
#
|
- >
|
||||||
# script:
|
if [ -d public/ ]; then
|
||||||
# # First the html
|
echo 'Public directory found'
|
||||||
# - bash upload.sh -h
|
else
|
||||||
# # then we do the media files
|
echo 'Nothing found'
|
||||||
# - bash upload.sh -M
|
fi
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
neocities:
|
||||||
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- build-site
|
||||||
|
when: manual
|
||||||
|
dependencies:
|
||||||
|
- build-site
|
||||||
|
script:
|
||||||
|
- bash scripts/neocities.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user