update ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2023-01-30 17:48:24 +01:00
parent 2e4c1fbae5
commit 91360b0ba1
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -6,7 +6,7 @@ pipeline:
- sed -i "s#APP_BASE_URL = '/'#APP_BASE_URL = '/og-image'#" webpack.config.js src/router.js - sed -i "s#APP_BASE_URL = '/'#APP_BASE_URL = '/og-image'#" webpack.config.js src/router.js
- npm run build - npm run build
when: when:
branch: [master] branch: [main]
update: update:
image: alpine/git image: alpine/git
@ -23,7 +23,7 @@ pipeline:
- git add . - git add .
- git commit -m "Build ${CI_BUILD_NUMBER}" - git commit -m "Build ${CI_BUILD_NUMBER}"
when: when:
branch: [master] branch: [main]
deploy: deploy:
image: appleboy/drone-git-push image: appleboy/drone-git-push
@ -36,4 +36,4 @@ pipeline:
ssh_key: ssh_key:
from_secret: ssh_priv_key from_secret: ssh_priv_key
when: when:
branch: [master] branch: [main]