Verified Commit 298422b3 authored by Jakob Moser's avatar Jakob Moser
Browse files

Try adding CI

parent 1cc7fb15
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+21 −0
Original line number Diff line number Diff line
image: alpine

gather-deployable-files:
  stage: build
  before_script:
  - mkdir public
  script:
  - cp {LICENSE,index.html} public/
  - cp -r {api,fonts,js,lib} public/
  artifacts:
    paths:
    - public

lima-city:
  stage: deploy
  before_script:
  - apk add lftp
  script:
  - lftp --user ftp_yexeaiim --password $LIMA_CITY_FTP_PASSWORD ftp://jakob-m.lima-ftp.de -e "set ftp:ssl-force true; mirror -R public .; exit"
  only:
  - master