Makefile 505 B

12345678910111213141516
  1. # Rebuild and push the awesome-cl website First step is needed so that
  2. # Codeship can fetch the `gh-pages` branch, then the remaining steps
  3. # commit README.md to the gh-pages branch, which GitHub serves
  4. # directly.
  5. gh-pages:
  6. git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
  7. git fetch
  8. git checkout gh-pages
  9. git pull --rebase origin gh-pages
  10. git show master:README.md > index.md
  11. git add index.md
  12. git commit -m "Rebuild index.md"
  13. git push -u origin gh-pages
  14. git checkout master