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