frontend web para homework-manager (version ninty)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 625B

123456789101112131415161718192021222324252627282930
  1. kind: pipeline
  2. name: default
  3. cache:
  4. mount:
  5. - node_modules
  6. steps:
  7. - name: build
  8. image: node:11.15.0
  9. commands:
  10. - npm install
  11. - export VUE_APP_GRAPHQL_URL=https://api.ninty.homework-manager.ml/
  12. - export VUE_APP_PAPAS_DIA_URL=https://api.ninty.homework-manager.ml/papasdia
  13. - export VUE_APP_DEBUG=false
  14. - npm run build
  15. - name: deploy
  16. image: appleboy/drone-scp
  17. settings:
  18. host: 192.168.86.25
  19. user: pi
  20. port: 22
  21. key:
  22. from_secret: ssh_key
  23. target: /var/www/html/ninty/
  24. source:
  25. - dist/
  26. when:
  27. branch:
  28. - master