티스토리 뷰

https://github.com/developer0hye/imgdiet

 

GitHub - developer0hye/imgdiet: A Python package for minimizing file size of images with negligible quality loss

A Python package for minimizing file size of images with negligible quality loss - developer0hye/imgdiet

github.com

 

개발하다가 있었던 일...

 

main브랜치에서만 작업하다가 이제 브랜치 따로 파서 작업하기 시작했다.

 

ci/cd과정에 publish를 자동으로 하게 해놨는데 이건 main 브랜치에만 하게 해주려고 chatgpt한테도 물어보고 스택오버플로 글도 찾아서 시도했는데 안되더라

 

https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions

 

Only run job on specific branch with GitHub Actions

I'm relatively new to GitHub Actions and I have 2 jobs–one that runs my tests, and one that deploys my project onto a server. Obviously I want the tests to run on every branch, but deploying shoul...

stackoverflow.com

 

뭐지 싶었다...

 

알고보니 main브랜치에 있는 ci/cd yml 파일이 수정되지 않고 다른 브랜치에 있는 ci/cd yml파일을 수정해서 그런거였다... 왜인지는 모르겠지만 github action ci/cd 실행시 어떤 경우에 main브랜치에 있는 파일이 참조되나보다...

 

이제 main 브랜치에서만 동작한다...

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함