Compare commits

...

3 commits

Author SHA1 Message Date
69b56a0451 woodpecker: añadir credentials mock
Some checks failed
continuous-integration/drone the build failed
2021-09-18 10:47:41 -03:00
84a0635185 woodpecker: Telegram 2021-09-18 10:43:42 -03:00
2374719d62 woodpecker: usar ssh-agent para llaves 2021-09-18 10:41:21 -03:00

View file

@ -1,14 +1,26 @@
pipeline: pipeline:
deploy: deploy:
image: registry.nulo.in/sutty/haini.sh:latest image: registry.nulo.in/sutty/haini.sh:latest
environment:
# ¡MOCK!
- RAILS_MASTER_KEY=5d2d51406b25ff9c3465122d0732e72c
commands: commands:
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
- mkdir ~/.ssh/ - mkdir ~/.ssh/
- echo $${SSH_KEY} > ~/.ssh/id_ed25519 - chmod 700 ~/.ssh
- make bundle hain="sh -c" - make bundle hain="sh -c"
- make yarn hain="sh -c" - make yarn hain="sh -c"
- echo z8p4KI/XRbGPdxPsNux8ys1gvL4+97DrrvPyt7gugJog3o3x/UEIyedkKUq9FWHOS9ltrsUN6NpN5Dsme+iHbMC/FrRjDmDvOoHpP/pqy924l6IgU8OK3m2Y28AU7eqiYvf6kJd5s4KmPJDiH9AQRx4QRy4jG5DfMHBew6EumqedgvRRFtAc3++GPH2qPnO8SYapRM4FXXUTjP3fNdRVD1Fqm7chUra4Qng1JhnzdMlOUhCPfD1Rmeh+X2TltzYhdPMFH3U3fJV7xCkitxu5PQgWfxMhb9FVF68Uvykbt/rod4IE6ZmAmPyyGktYuQSI2t1kkpAV4MOG4ag9aC/RLmi23rt+fVoYJREHga+NQ0YjVSGbBlINIDACr1iL+abtNmHhtfY+o9unlD7xy3UP0EdqTx6WncVJn02D--pfdBRF+zxL1uqoWs--4OJ7axQaFf9git6zUtUGOA== > config/credentials.yml.enc
- make ota-js hain="sh -c" - make ota-js hain="sh -c"
secrets: secrets:
- ssh_key - ssh_key
when: when:
event: push event: push
branch: staging-cd branch: staging-cd
telegram:
image: appleboy/drone-telegram
to: 801193228
secrets:
- token