Skip to content
Snippets Groups Projects
Commit e362500d authored by Mathieu Dartigues's avatar Mathieu Dartigues
Browse files

Adding .htaccess

parent 7e174200
No related branches found
No related tags found
No related merge requests found
Pipeline #10630 canceled
This commit is part of merge request !60. Comments created here will be created in the context of that merge request.
...@@ -103,6 +103,11 @@ deploy: ...@@ -103,6 +103,11 @@ deploy:
- apt install rsync -y - apt install rsync -y
- echo "Will deploy to ${DELIVERY_DIRECTORY}" - echo "Will deploy to ${DELIVERY_DIRECTORY}"
- echo "
<Directory "/var/www/html/$DELIVERY_DIRECTORY">
FallbackResource /$DELIVERY_DIRECTORY/index.html
</Directory>
" >> ./dist/.htaccess
- ssh gitlab@so-frontend-dev.irit.fr "rm -rf /var/www/html${DELIVERY_DIRECTORY}" - ssh gitlab@so-frontend-dev.irit.fr "rm -rf /var/www/html${DELIVERY_DIRECTORY}"
- rsync -ravP --delete ./dist/ gitlab@so-frontend-dev.irit.fr:/var/www/html${DELIVERY_DIRECTORY}/ - rsync -ravP --delete ./dist/ gitlab@so-frontend-dev.irit.fr:/var/www/html${DELIVERY_DIRECTORY}/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment