Skip to content

Commit

Permalink
Merge pull request #40 from cs50/deploy
Browse files Browse the repository at this point in the history
moved commands to .deploy
  • Loading branch information
Kareem Zidane committed Aug 1, 2018
2 parents af70ffa + aed8cd6 commit 2b13ac4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,5 @@ script:
- make html && rm --force --recursive _build
deploy:
provider: script
script: |
git remote set-url origin "https://$USERNAME:$PASSWORD@github.com/cs50/manual50.git" && \
git branch --delete rel && \
git checkout -b rel && \
git add --all && \
git commit --message "$(date) [skip ci]" && \
git push --force origin rel
script: 'git remote set-url origin "https://$USERNAME:$PASSWORD@github.com/cs50/manual50.git" && git branch --delete rel && git checkout -b rel && git add --all && git commit --message "$(date) [skip ci]" && git push --force origin rel'
skip_cleanup: true

0 comments on commit 2b13ac4

Please sign in to comment.