Issue when deploying multiple times for same repo
Opened this issue · 1 comments
alexdiliberto commented
Reproduction App: https://github.com/alexdiliberto/deploy-dummy-app/commits/gh-pages
- Create a new app with some dummy code
- Setup new gh-pages branch
- Do first deploy using
ember deploy production
. Looks good. - Now make some small change to the code
- Deploy again using
ember deploy production
- Issue:
Notice that my change didn't actually get deployed to https://alexdiliberto.com/deploy-dummy-app/.Also note theres a error when trying to switch to the gh-pages branch
$ git checkout gh-pages
fatal: 'gh-pages' is already checked out at '/private/tmp/deploy'
EDIT: Ok looks like the changes do propagate but it just takes time...I checked again about 15 minutes later (didn't check but probably just a small caching issue). But the gh-pages branch error still persists and you can't switch to that branch
knownasilya commented
I get another error, which is resolved by removing /private/tmp/deploy
△ ~/sandbox/ember-template-input ember deploy production ⇡ master :: 0m :: ⬢
cleaning up...
Deploying [🚀 ] 100% [plugin: git -> upload]
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> gh-pages
Error: git pull exited with nonzero status
Error: git pull exited with nonzero status
at ChildProcess.<anonymous> (/Users/iradchenko/sandbox/ember-template-input/node_modules/ember-cli-deploy-git/lib/run.js:19:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
Pipeline aborted