4

Is there any way to use the AWS EB cli to just push the current state of my project rather than a specific commit?

Perhaps there are alternative values than git to the sc parameter in config.yml?

2 Answers2

3

Add a file called .ebignore in your project root.

In the file, add the line

.git/

Now all deploys will use the .ebignore file and the current state of your projects instead of using git commits.

Humdinger
  • 336
  • 1
  • 8
0

You could just add

git init
git checkout -b master
git add .
git status
git commit -m "First Commit"

Every time that you add new code if you dont want to add for commit could just use first deploy for files that you do make always new commits use command of eb deploy --staged` Deploy files staged in the git index instead of the HEAD commit.

Dave M
  • 4,514
  • 22
  • 31
  • 30