updated .gitlab-ci.yml
This commit is contained in:
parent
d4f8e8c85f
commit
70357d7305
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ build:
|
||||||
dependencies: []
|
dependencies: []
|
||||||
before_script:
|
before_script:
|
||||||
- rm package-lock.json
|
- rm package-lock.json
|
||||||
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
cache:
|
cache:
|
||||||
|
@ -25,4 +26,4 @@ deploy:
|
||||||
before_script:
|
before_script:
|
||||||
- which lftp || ( apk --update add lftp )
|
- which lftp || ( apk --update add lftp )
|
||||||
script:
|
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
|
Loading…
Reference in a new issue