From 064988d539cdaa70f8f7a625380bfe40427e073f Mon Sep 17 00:00:00 2001 From: lauralani Date: Mon, 14 Aug 2023 08:03:36 +0200 Subject: [PATCH] test new netlify-cli container --- .woodpecker/deploy-netlify.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.woodpecker/deploy-netlify.yaml b/.woodpecker/deploy-netlify.yaml index 54a5cb8..4fd9fb7 100644 --- a/.woodpecker/deploy-netlify.yaml +++ b/.woodpecker/deploy-netlify.yaml @@ -11,7 +11,9 @@ steps: - hugo --minify --destination ./public deploy-staging: - image: node:alpine + # image: node:alpine + image: code.lila.network/lauralani/netlify-cli:latest + pull: true when: - event: push branch: staging @@ -19,12 +21,14 @@ steps: - NETLIFY_AUTH_TOKEN - NETLIFY_SITE_ID commands: - - npm install netlify-cli -g + # - npm install netlify-cli -g - netlify deploy --alias stage --dir ./public deploy-production: - image: node:alpine + # image: node:alpine + image: code.lila.network/lauralani/netlify-cli:latest + pull: true when: - event: push branch: main @@ -32,5 +36,5 @@ steps: - NETLIFY_AUTH_TOKEN - NETLIFY_SITE_ID commands: - - npm install netlify-cli -g + # - npm install netlify-cli -g - netlify deploy --prod --dir ./public