diff --git a/.travis.yml b/.travis.yml index 9b70751..aa19a3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ deploy: provider: releases api_key: secure: dHhBwk4lQXtA4XgUhz6fefzX5hPs2TGaTRtt0npGwlpESz0nQf2UQVJoDzlhzOplXCdsV2EDlPEnwFm5x4kTrwtETwbeK/UArIh6fmo7hGPeyWwPCFNnHX422Vi6nh4DDuWUk/ObCGUN9TZMpFglQag826aI9pEU6k89KcpS3EilIgUYggHUz5EOj59qtV37Fgr7s6hT4NBJaFuLDjJV4PYjTqeEAffJ+gjgVub5cOQT4NSgQW1fEmYS5OZoOMS2mKxz6LYBg76Ys8H4el7QuKy7QodAgkGLsxBTib83eMrpE4P7KqBLQKl3oXzAk8+XVzW4rhscMX2jFD6Sg/to1PaPviU7WQyYrgtdVkrLXzwKCUy7zQAUoIckrq4n9GICPfVpHeKcLHMu/9xKqipZwTjpFBxLTkmnbUV4dGx5cgVtrf2PsLcKJOjFGDvfnISIzPp/tfTtzL22tCRvJeMOjDULPvHKIapIuy7u85fDlhibynbERhZIGlZ88Wt73kXX2I9Hck11btBFlyRtBTqrapRNfSVK3/BGAH+js0s4bm+gdGniFRgT2jsmSpQJFggeHmuz/4mYb+Oc3KtAxnwmjZ92kp/3+4AkmHUUpskwae+J6iUeIUP5ZypuXnrMPL4b25gh1uzNIQtzRVvwcbK9bM3W+vU30WlLufCPYLgHgBI= - file: test.pdf file_glob: true file: - test.pdf diff --git a/README.md b/README.md new file mode 100644 index 0000000..38966bc --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +GitHub & Travis Docker-based Build & Deploy Integration +--- + +[![GitHub release](https://img.shields.io/github/release/hadisfr/travis-test.svg?style=flat-square)](https://github.com/hadisfr/travis-test/releases/latest) +[![Travis (.com)](https://img.shields.io/travis/hadisfr/travis-test.svg?style=flat-square)](https://travis-ci.com/hadisfr/travis-test) + +Use `-v` or `--volume` flag in docker run to to bind mount a volume, +and `-w` or `--workdir` flag to set working directory. + +Use the following command to generate `api_key`: +```bash +travis setup releases --com +``` +Previous access toknes are available at https://github.com/settings/tokens. + +Add the following parts to `deploy` section of `.travis.yml`: +```yml +deploy: + provider: releases + file_glob: true + skip_cleanup: true + on: + tags: true +``` + +## References + +* https://www.victorhurdugaci.com/github-releases-travis +* https://github.com/harshjv/travis-ci-latex-pdf/blob/master/.travis.yml +* https://docs.travis-ci.com/user/languages/minimal-and-generic +* https://docs.travis-ci.com/user/deployment/releases