Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
hadisfr committed Jul 6, 2019
1 parent a9b1f7e commit 72c4dc5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 72c4dc5

Please sign in to comment.