Delete '.gitlab-ci.yml'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2b7b2cd7d7
commit
a7ebd31cd5
1 changed files with 0 additions and 29 deletions
|
@ -1,29 +0,0 @@
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
build:
|
|
||||||
image: node
|
|
||||||
stage: build
|
|
||||||
dependencies: []
|
|
||||||
before_script:
|
|
||||||
- rm package-lock.json
|
|
||||||
- npm install
|
|
||||||
script:
|
|
||||||
- npm run build
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- node_modules/
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- dist/
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
image: alpine
|
|
||||||
stage: deploy
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
before_script:
|
|
||||||
- which lftp || ( apk --update add lftp )
|
|
||||||
script:
|
|
||||||
- lftp -e "mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
|
Loading…
Reference in a new issue