diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..589b578 --- /dev/null +++ b/.drone.yml @@ -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