Remove public directory before moving built files

This commit is contained in:
Pierre HUBERT 2021-07-13 19:43:55 +02:00
parent 82d72fa44d
commit cd086f2a4c

View File

@ -10,6 +10,7 @@ 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
- rm -rf public
- mv build public - mv build public
artifacts: artifacts:
paths: paths: