HeyCong/blog
github페이지를 이용한 배포
ucong
2020. 12. 23. 20:26
1. github 에서 새로운 repository 생성
- https://github.com/ucong2222/ssg-2020-12
* 생성 전에 settings->Repositories-> defult branch가 main이면 master로 변경
2. 배포할 파일에 git bash
- site
3. git init
4. git remote add origin [repository 주소]
- git remote add origin https://github.com/ucong2222/ssg-2020-12
5. git add .
6. git commit -m "첫배포"
7. git push origin master
8. https://github.com/ucong2222/ssg-2020-12에서 settings 클릭
9. GitHub Pages / Source 에서 None 을 Master 로 변경후 SAVA
* 서비스 활성화
결과물
ucong2222.github.io/ssg-2020-12
*repository settings 에서 확인가능