Source files of publiccode.eu, the official website for the "Public Money, Public Code" campaign
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

.drone.yml 621B

12345678910111213141516171819202122
  1. pipeline:
  2. quality:
  3. image: williamyeh/ansible:debian8
  4. commands:
  5. - ansible-playbook -vvv playbook.yml -i hosts --syntax-check
  6. syntaxcheck:
  7. image: publysher/hugo
  8. commands:
  9. - cd site; ./build/build.sh syntax
  10. deploy:
  11. image: williamyeh/ansible:debian8
  12. secrets: [ ssh_key ]
  13. commands:
  14. - mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
  15. - ssh-keyscan -H lund.fsfeurope.org >> ~/.ssh/known_hosts
  16. - ansible-playbook playbook.yml -i hosts
  17. when:
  18. event: [push, pull_request, tag, deployment]
  19. branch: master