Skip to content
Snippets Groups Projects

Adding .htaccess

Closed mathieu.dartigues requested to merge 36-apache into main
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -103,6 +103,11 @@ 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