updated .gitlab-ci.yml

This commit is contained in:
Samuel Philipp 2019-10-27 20:40:22 +01:00
parent d4f8e8c85f
commit 70357d7305

View file

@ -8,6 +8,7 @@ build:
dependencies: []
before_script:
- rm package-lock.json
- npm install
script:
- npm run build
cache:
@ -25,4 +26,4 @@ deploy:
before_script:
- which lftp || ( apk --update add lftp )
script:
- lftp -e "mirror -R ./ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
- lftp -e "mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST