2022-12-15 18:15:33 -05:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: jekyll/jekyll
|
|
|
|
environment:
|
|
|
|
JEKYLL_ENV: production
|
|
|
|
commands:
|
2023-02-02 22:27:20 -05:00
|
|
|
- chown -R jekyll:jekyll /drone/src
|
2022-12-15 18:28:10 -05:00
|
|
|
- npm install
|
2022-12-15 18:35:25 -05:00
|
|
|
- bundle install
|
2022-12-15 18:15:33 -05:00
|
|
|
- bundle exec jekyll build
|
2023-02-02 22:27:20 -05:00
|
|
|
- name: publish
|
|
|
|
image: walkah.dev/walkah/drone-ipfs-cluster
|
|
|
|
settings:
|
|
|
|
path: /drone/src/_site
|
|
|
|
domain: walkah.net
|
|
|
|
cluster_host: /ip4/100.95.167.126/tcp/9094
|
|
|
|
cluster_user: walkah
|
2023-02-05 21:56:43 -05:00
|
|
|
cluster_password:
|
2023-02-02 22:27:20 -05:00
|
|
|
from_secret: IPFS_CLUSTER_PASSWORD
|
|
|
|
cluster_args: -f
|
|
|
|
cf_email: walkah@walkah.net
|
|
|
|
cf_apikey:
|
|
|
|
from_secret: CLOUDFLARE_APIKEY
|