Don't deploy to NeoCities
This commit is contained in:
parent
155deb3b98
commit
426220bbfe
@ -22,20 +22,3 @@ pages:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
|
||||
neocities:
|
||||
image: ruby:2.6.5
|
||||
dependencies:
|
||||
- build
|
||||
stage: deploy
|
||||
environment: neocities
|
||||
script:
|
||||
- echo -e "source 'https://rubygems.org'\n\ngem 'neocities'" > Gemfile
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
# Place user-provide token
|
||||
- if [ -z "$NEOCITIES_TOKEN" ]; then echo Please see README.md for information on how to set your Neocities API token && false; else mkdir -p $HOME/.config/neocities && mv $NEOCITIES_TOKEN $HOME/.config/neocities/config; fi
|
||||
- cd public
|
||||
- bundle exec neocities push .
|
||||
only:
|
||||
- master
|
||||
|
Loading…
Reference in New Issue
Block a user