👷 publish via drone to ipfs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Walker 2023-02-09 22:35:37 -05:00
parent 06e57e6c93
commit 45fcc085ad
Signed by: walkah
GPG Key ID: 3C127179D6086E93

27
.drone.yml Normal file
View File

@ -0,0 +1,27 @@
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