forked from ilot/ilot-io
gitlab-ci: create target dir
This commit is contained in:
parent
d5678acaf6
commit
4dcde87ab4
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ pages:
|
||||||
fi
|
fi
|
||||||
- rm -rf public/$CURRENT_CONTENT_PATH || true # remove last version of current branch
|
- rm -rf public/$CURRENT_CONTENT_PATH || true # remove last version of current branch
|
||||||
script:
|
script:
|
||||||
|
- mkdir -p public/$CURRENT_CONTENT_PATH
|
||||||
- cp -R src/* public/$CURRENT_CONTENT_PATH/.
|
- cp -R src/* public/$CURRENT_CONTENT_PATH/.
|
||||||
- cd public/$EPHEMERAL_BRANCHES_PATH
|
- cd public/$EPHEMERAL_BRANCHES_PATH
|
||||||
- tree -d -H '.' -L 1 --noreport --charset utf-8 -T "Versions" -o index.html # generate a root HTML listing all previews for easier access
|
- tree -d -H '.' -L 1 --noreport --charset utf-8 -T "Versions" -o index.html # generate a root HTML listing all previews for easier access
|
||||||
|
|
Loading…
Add table
Reference in a new issue