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
|
- 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]
|
||||||
|
|
Loading…
Reference in a new issue