Commit d84b1242 authored by Martin Alvarez-Espinar's avatar Martin Alvarez-Espinar
Browse files
parents c44247d4 10676408
......@@ -2,7 +2,6 @@ image: node:14.8.0
website-build:
stage: build
script:
- rm technology-guides/developer-docs/content/.vuepress/dist/assets/js/*.js
- npm --prefix technology-guides/developer-docs install
- npm --prefix technology-guides/developer-docs run build
- git config --global user.email "quickapp-team@ow2.org"
......@@ -10,9 +9,10 @@ website-build:
- mkdir /static
- cp -a technology-guides/developer-docs/content/.vuepress/dist/. /static
- cd / && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ow2.org/quick-app-initiative/quick-app-initiative.ow2.io.git
- rm /quick-app-initiative.ow2.io/static/developers/assets/js/*.js
- rm -f /quick-app-initiative.ow2.io/static/developers/assets/js/*.js
- cd /quick-app-initiative.ow2.io && git add . && git commit -m "Cleaning JS files"
- cp -a /static/. /quick-app-initiative.ow2.io/static/developers/
- cd /quick-app-initiative.ow2.io && git add --all && git commit -m "New build of static developer docs"
- cd /quick-app-initiative.ow2.io && git add --all . && git commit -m "New build of static developer docs"
- git push https://root:$ACCESS_TOKEN@gitlab.ow2.org/quick-app-initiative/quick-app-initiative.ow2.io.git master
artifacts:
expire_in: 1 week
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment