Skip to content
Snippets Groups Projects

Adding .htaccess

Closed mathieu.dartigues requested to merge 36-apache into main
+ 4
0
@@ -103,6 +103,10 @@ deploy:
- apt install rsync -y
- 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}"
- rsync -ravP --delete ./dist/ gitlab@so-frontend-dev.irit.fr:/var/www/html${DELIVERY_DIRECTORY}/
Loading