Fix build output directory

This commit is contained in:
Pierre HUBERT 2021-07-13 19:36:59 +02:00
parent f76026fbfe
commit 82d72fa44d

View File

@ -10,8 +10,9 @@ pages:
- echo "{\"api_url\":\"https://api.communiquons.org/admin/\"}" > build/config.json - echo "{\"api_url\":\"https://api.communiquons.org/admin/\"}" > build/config.json
- echo Create 404 page - echo Create 404 page
- cp build/index.html build/404.html - cp build/index.html build/404.html
- mv build public
artifacts: artifacts:
paths: paths:
- build - public
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH