blog/.drone.yml
James Walker 45fcc085ad
All checks were successful
continuous-integration/drone/push Build is passing
👷 publish via drone to ipfs
2023-02-09 22:35:37 -05:00

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