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