update ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-01-30 17:47:36 +01:00
parent 97779bb248
commit 2e4c1fbae5
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -5,6 +5,8 @@ pipeline:
- npm i
- sed -i "s#APP_BASE_URL = '/'#APP_BASE_URL = '/og-image'#" webpack.config.js src/router.js
- npm run build
when:
branch: [master]
update:
image: alpine/git
@ -20,6 +22,8 @@ pipeline:
- mv /tmp/public/* .
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"
when:
branch: [master]
deploy:
image: appleboy/drone-git-push
@ -31,3 +35,5 @@ pipeline:
commit: false
ssh_key:
from_secret: ssh_priv_key
when:
branch: [master]