From 45fcc085adb492912fc32d14c887febba2aabf47 Mon Sep 17 00:00:00 2001 From: James Walker Date: Thu, 9 Feb 2023 22:35:37 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20publish=20via=20drone=20to=20ipf?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .drone.yml 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