This commit is contained in:
parent
cfa6664b4e
commit
4ab7dd79d9
|
@ -3,12 +3,14 @@ pipeline:
|
||||||
image: node:16-alpine
|
image: node:16-alpine
|
||||||
commands:
|
commands:
|
||||||
- npm i
|
- npm i
|
||||||
|
- sed -i "s#setPublicPath('/')#setPublicPath('/og-image')#" webpack.config.js
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
update:
|
update:
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- rm package-lock.json
|
- git add .
|
||||||
|
- git commit -m "Build"
|
||||||
- git fetch --no-tags origin +refs/heads/pages
|
- git fetch --no-tags origin +refs/heads/pages
|
||||||
- git switch pages
|
- git switch pages
|
||||||
- git config --global user.email ci@gitnet.fr
|
- git config --global user.email ci@gitnet.fr
|
||||||
|
|
Loading…
Reference in a new issue