From 4ab7dd79d9fec61f2b0c4980faf2e358dff6a3e2 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 30 Jan 2023 11:20:41 +0100 Subject: [PATCH] update ci --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e3f74c9..cf15c80 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,12 +3,14 @@ pipeline: image: node:16-alpine commands: - npm i + - sed -i "s#setPublicPath('/')#setPublicPath('/og-image')#" webpack.config.js - npm run build update: image: alpine/git commands: - - rm package-lock.json + - git add . + - git commit -m "Build" - git fetch --no-tags origin +refs/heads/pages - git switch pages - git config --global user.email ci@gitnet.fr