James Walker
45fcc085ad
All checks were successful
continuous-integration/drone/push Build is passing
28 lines
676 B
YAML
28 lines
676 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: node:lts-alpine
|
|
environment:
|
|
GHOST_API_URL: https://admin.walkah.blog
|
|
GHOST_CONTENT_API_KEY:
|
|
from_secret: GHOST_CONTENT_API_KEY
|
|
commands:
|
|
- npm install
|
|
- npm run build
|
|
- name: publish
|
|
image: walkah.dev/walkah/drone-ipfs-cluster
|
|
settings:
|
|
path: /drone/src/_site
|
|
domain: walkah.blog
|
|
cluster_host: /ip4/100.95.167.126/tcp/9094
|
|
cluster_user: walkah
|
|
cluster_password:
|
|
from_secret: IPFS_CLUSTER_PASSWORD
|
|
cluster_args: -f
|
|
cf_email: walkah@walkah.net
|
|
cf_apikey:
|
|
from_secret: CLOUDFLARE_APIKEY
|