27 lines
612 B
YAML
27 lines
612 B
YAML
image: alpine/edge
|
|
packages:
|
|
- ruby-full
|
|
- ruby-dev
|
|
- nodejs
|
|
- rsync
|
|
- graphicsmagick
|
|
sources:
|
|
- https://git.sr.ht/~stfn/freehold-cottage
|
|
secrets:
|
|
- 34e9229f-cf33-43b2-a1ba-bbc0d2667f82
|
|
tasks:
|
|
- setup: |
|
|
sudo gem install --no-document bundler
|
|
sudo gem install --no-document neocities
|
|
- build: |
|
|
cd freehold-cottage
|
|
bundle config jobs 4
|
|
bundle install
|
|
JEKYLL_ENV=production bundle exec jekyll build
|
|
- deploy: |
|
|
cd freehold-cottage
|
|
set +x
|
|
export NEOCITIES_API_KEY=$(cat ~/.neocities_api_key)
|
|
set -x
|
|
neocities push --prune _site
|