Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

프로젝트 구조 참고 #4

Open
mrchypark opened this issue Feb 1, 2022 · 3 comments
Open

프로젝트 구조 참고 #4

mrchypark opened this issue Feb 1, 2022 · 3 comments

Comments

@mrchypark
Copy link
Member

https://github.com/pojntfx/liwasc

@kkweon
Copy link
Member

kkweon commented Feb 1, 2022

  • 바이너리(*.wasm) 제거 / 용량 매우 큼
  • 바이너리 제거는 단순 제거 후 커밋이 아니라 전체 히스토리에서 완전히 제거되도록 필터브랜치 및 포스 푸시 사용 해야 함. 안그러면 용량은 계속 늘어남.
  • docs/ 대신에 gh-branch 브랜치 사용
  • gh-branch 에는 소스가 아니라 index.html 만 들어가도록 변경
  • 빌드 아웃풋이 체크인 되면 안됨

@kkweon
Copy link
Member

kkweon commented Feb 1, 2022

레퍼런스 workflow

https://github.com/codingpot/pr12er/blob/main/.github/workflows/ci.yml#L103-L128

Flutter지만 Go 로 변경하면 동일함

핵심 로직

client/build/web 에 있는 걸 gh-pages 브랜치로 전부 옮겨라

      - uses: JamesIves/[email protected]
        with:
          branch: gh-pages
          folder: ./client/build/web

@mrchypark
Copy link
Member Author

@kkweon 감사합니다. :) 딱 원하던 거였는데 이렇게 사용하는군요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants