This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

travis: Fix push to GitHub

Commit 9cdc425 (travis: Fail build if unable to push to DockerHub)
moved the logic for pushing the dev tag to GitHub from the
`after_success` target to `deploy`. For some reason, this resulted in
the following error:
```
remote: Not Found
fatal: repository 'https://[secure]@github.com/kelda/kelda/' not found
```

Adding `.git` to the repository URL fixes this error.
  • Loading branch information...
kklin committed Oct 27, 2017
1 parent 1864072 commit 29e1037ecfa84944ea1ff5e2460456b2bb5034ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -99,7 +99,7 @@ deploy:
script: docker push $KELDA_DOCKER_IMAGE:latest &&
git -c user.email="builds@travis-ci.com" -c user.name="Travis CI"
tag -fa dev -m "Autogenerated tag to track master branch" &&
git push -fq https://$GITHUB_KEY@github.com/kelda/kelda dev
git push -fq https://$GITHUB_KEY@github.com/kelda/kelda.git dev
skip_cleanup: true
on:
branch: "master"

0 comments on commit 29e1037

Please sign in to comment.