reactive_forms icon indicating copy to clipboard operation
reactive_forms copied to clipboard

ci: Add deployment job to workflow

Open deandreamatias opened this issue 3 years ago • 1 comments

Close: #198

  • Upgrade github actions versions
  • Remove unnecessary comments
  • Add check publish warnings job to workflow
  • Add deployment job to workflow

⚠️ @joanpablo to this pipeline works, need two thinks:

  • Get the enviroment PUB_DEV_PUBLISH_ACCESS_TOKEN and PUB_DEV_PUBLISH_REFRESH_TOKEN
  • To add the token to repository, go to Settings > Actions > Press on New repository secret Is not a enviroment secret, is a repository secret

This an image that my configuration for flutter_form_builder Your token will be configure below repository secrets, because is a single repository and no a organization

image

deandreamatias avatar Sep 17 '22 17:09 deandreamatias

Hi @vasilich6107 and @kuhnroyal please can take a look in this PR and this comment? Thanks

mdeandrea-mrmilu avatar Oct 18 '22 06:10 mdeandrea-mrmilu

Hi @joanpablo Could you review this PR?

mdeandrea-mrmilu avatar Mar 02 '23 07:03 mdeandrea-mrmilu

Thanks, @mdeandrea-mrmilu.

So as far as I understand this deployment will only be triggered if a Tag is created, and not when simply pushing changes to master or develop. Could you confirm that, please?

joanpablo avatar Mar 02 '23 15:03 joanpablo

Yes, I confirm this, only with tag created. Today, after sent this comment, I watch this video about automatic deploy of packages. Maybe is a way more secure and improved that this code change

deandreamatias avatar Mar 02 '23 15:03 deandreamatias

Oh, thanks for sharing the video @deandreamatias I will see it, and let you know my comments about it.

joanpablo avatar Mar 02 '23 16:03 joanpablo

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.01%. Comparing base (40d917b) to head (c9ae435).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #329   +/-   ##
========================================
  Coverage    95.01%   95.01%           
========================================
  Files           67       67           
  Lines         1385     1385           
========================================
  Hits          1316     1316           
  Misses          69       69           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 30 '24 12:03 codecov[bot]

@joanpablo branch updated!

deandreamatias avatar Mar 30 '24 14:03 deandreamatias