sourcetoad / aws-codedeploy-action

AWS CodeDeploy via GitHub Actions
MIT License
35 stars 13 forks source link

How to disable polling #57

Closed Samuell1 closed 2 years ago

Samuell1 commented 2 years ago

Hey, thanks for the amazing package!

I was thinking if there is a way to disable polling to save a action minutes. I tried to setting max_polling_iterations to 0 but then it errors out that deployment wasnt successfull, except deployment on codedeploy works fine.

iBotPeaches commented 2 years ago

Ah never considered a 0 option. We can slip that into our upcoming release. Give me a few days.

Samuell1 commented 2 years ago

@iBotPeaches Thanks a lot!

Samuell1 commented 2 years ago

If you need testing new version just let me know i will try it out.

iBotPeaches commented 2 years ago

@Samuell1 - I have a PR up above to resolve this. It is testable on sourcetoad/aws-codedeploy-action@issue-57

Samuell1 commented 2 years ago

Yes it works!

iBotPeaches commented 2 years ago

Thanks. We have a few internal tests to run and then we will release a new tag and move the "v1" tag.