Source files of publiccode.eu, the official website for the "Public Money, Public Code" campaign
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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