Homepage for the CoderDojo in Würzburg including other stuff https://www.coderdojo-wue.de
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.

36 lines
716B

  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: default
  5. steps:
  6. - name: prepare
  7. image: node:latest
  8. environment:
  9. GATSBY_TELEMETRY_DISABLED: 1
  10. commands:
  11. - npm ci
  12. #- name: lint
  13. # image: node:latest
  14. # commands:
  15. # - npm run lint
  16. - name: build
  17. image: node:latest
  18. environment:
  19. GATSBY_TELEMETRY_DISABLED: 1
  20. commands:
  21. - npm run build
  22. - name: deploy
  23. image: minio/mc:latest
  24. environment:
  25. MINIO_ACCESS_KEY:
  26. from_secret: MINIO_ACCESS_KEY
  27. MINIO_SECRET_KEY:
  28. from_secret: MINIO_SECRET_KEY
  29. commands:
  30. - mc config host add minio https://storage.randombit.eu $MINIO_ACCESS_KEY $MINIO_SECRET_KEY S3v4
  31. - mc mirror --remove --overwrite public minio/coderdojo-wue
  32. trigger:
  33. branch:
  34. - master