This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy dokku | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| name: Deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| web: ./target/release/rust-hello-world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: rust | |
| rust: | |
| - nightly | |
| env: | |
| global: | |
| - secure: "FmkyMc5RIU2m+VZoRwuUQy/pupXrSPXAz53B+xlkbmTXDjKXrlQpRGthz3tuc24rZkhVgFdJQNLoV5kJZdyYiz5v+Nj6WcFazwgvHfkLcT+Ayjo9qd5faE6QaijBl9fDLVJIIBj0DiKPOxo9iFh2QE9Ag/5HWYsdlk20n6h7xbVh8OAAx/+sf3XuA9/vGUqVP48IGu7/QpksD+6HlroNA2zQB473rMnG6zm1s7GjWY+HyGZ+obvNta73t1rpFabuAZ3lUQOl7KDpnvZq64PqPwAV4C1sWH9g+MuIPVAoA3AOUVWJfPO2hKW+AG6L1YTNV/XeDVysTwNi4KyZk/g8QViJZi8HlxgrLHCAjLUsMhN19nmTvYUrxCKn78FGtfjS53NIvoGgVE+C34n52/hbcpdjJEg3lsVlRCPA1DZR1PK8SaYok48fYtN+9hYhg5ghP2+xY3zPaGAJ39cCGw/JNrAreIJUY36t2yaz00SnB377KAjvzzs/OW6dkY+yOjGHoWuFS4AyOeCPZ+2hebcObQGbIMC/4+rZLk28KzkVWNBgXLFG2+D+m5PfpbPlLNxJjn69pgMOJaTJXqtCa6iI4XFH4gxVHT/YKHA1BrzTALp1BZ6opzcvOwPI8jjNy1H+woKhRdXydTWMtud6CP8NM3E+V0V+kJ75rk2KGoYuVYM=" | |
| - secure: "DSNhctCv0LAlUUIZQIpiO35SlBXB+LPKWZGaJuZIjIi3s+Reqx1vcf9fRXiJPNUuxcqJ2NSxvWZQZG9hwlabx9hshYyNQvbA+GBn1D2Kwg8Pdx6XAmfp/2fce4/sKMv+Zw/I4qdd7P9f0gzp95/YZhY8d1/MCsGwB36wKApVjW0/FtvCIitssY/o9wXMncN8L0MDdySi1Jxr/Abb7TRCnJuPExeD6+/j8Y8U2vbUUb2tvMbwryAUQIYw0fqgEXvQ+t5qodAYLy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| eval "$(ssh-agent -s)"; | |
| chmod 600 .travis/dokku-deploy.key; | |
| ssh-add .travis/dokku-deploy.key; | |
| ssh-keyscan "$DOKKU_HOST" >> ~/.ssh/known_hosts; | |
| git remote add deploy dokku@"$DOKKU_HOST":"$DOKKU_APP"; | |
| git config --global push.default simple; | |
| git push deploy master; |