This commit is contained in:
parent
2e4c1fbae5
commit
91360b0ba1
|
@ -6,7 +6,7 @@ pipeline:
|
|||
- sed -i "s#APP_BASE_URL = '/'#APP_BASE_URL = '/og-image'#" webpack.config.js src/router.js
|
||||
- npm run build
|
||||
when:
|
||||
branch: [master]
|
||||
branch: [main]
|
||||
|
||||
update:
|
||||
image: alpine/git
|
||||
|
@ -23,7 +23,7 @@ pipeline:
|
|||
- git add .
|
||||
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
||||
when:
|
||||
branch: [master]
|
||||
branch: [main]
|
||||
|
||||
deploy:
|
||||
image: appleboy/drone-git-push
|
||||
|
@ -36,4 +36,4 @@ pipeline:
|
|||
ssh_key:
|
||||
from_secret: ssh_priv_key
|
||||
when:
|
||||
branch: [master]
|
||||
branch: [main]
|
||||
|
|
Loading…
Reference in a new issue