해당 포스팅은 github pages 블로그 만들기의 연재로 이번시간에는 "테마 적용하기" 편입니다. 이전 포스팅을 보고 싶으시면 아래의 링크들을 확인해 주시기 바랍니다
- 깃허브(GitHub) 회원 가입 (계정 생성)
- git(깃) 설치와 간단 사용방법, github 연동
- Github pages 블로그 선택한 이유와 jekyll 테마 (window)
- github pages 블로그 만들기 - ruby와 jekyll 설치
- github pages 블로그 만들기 - repository 생성 및 jekyll 사이트 생성
테마는 기본적으로 jekyllthemes 사이트에서 고르시면 됩니다. 이러한 사이트가 여러곳이 있지만 여러분들을 위해 하나만 알려드립니다. 여러분들은여기서 마음에 드는 것을 하나 고르시면 됩니다.
저는 Chirpy 라는 테마가 이전부터 마음에 들어 이것으로 하기로 하였습니다. 물론 사람들도 많이 이용하는것 같고요. 자 그럼 Chirpy 테마를 Download 를 클릭하여 로컬에 다운로드 하겠습니다. 다운이 완료된 파일은 zip 파일로 압축을 풀어 사용하기 바랍니다.
압축을 풀었다면 해당 압축풀린 파일들을 본인이 만들 레포지토리에 모두 넣습니다. 아시다시피 무슨일이 있을찌 모르니깐 사전에 다른 곳으로 chirpy 설치전이라하며 백업을 진행해 두시기 바랍니다. 같은 파일이 존재한다면 모두 다 덮어쓰시면 됩니다. 아래와 같이 다 덮어쓰게 됩니다.
스킨 설치
이제 받은 파일을 설치과정을 통해 chirpy 가 빌드 가능한 상태로 만들어야 합니다. readme.md 문서를 보면 bash tools/init.sh 를 하면 초기화 과정을 거치면서 이것이 되는데 아시다시피 .sh 파일이라서 리눅스나 mac 에서 가능한 형태로 bash 가 없다면 되질 않습니다. 즉 윈도우에서는 수동으로 init 과정을 해주어야 합니다. 이 과정이 제각각 설명들이 다 달라 여러분들은 저만 따라 오시기 바랍니다. 우리가 건드려야 할 파일들은 아래와 같습니다.
- Gemfile.lock 파일 삭제
- .travis.tml 파일 삭제
- _posts 디렉토리 삭제
- docs 디렉토리 삭제
- .github/workdlows/pages-deploy.yml.hook 파일을 제외한 나머지 파일들 삭제 후 파일명을 pages-deploy.yml 로 변경
그런데 만약 애초에 존재하지 않는 파일이라면 과정을 무시해도 됩니다. 또 본 필자는 _posts 디렉토리의 경우 삭제하지 않았습니다. 이제 로컬 레포지토리의 root 디렉토리로 돌아가 아래의 커맨드를 실행(cmd 창이나 power shell 이용)하면 테마 적용이 완료됩니다.
$ bundle
bundle 실행 전 반드시 ruby 버젼을 확인하여야 합니다. ruby 최소 버젼이 3버젼 이상이어야 하며 만약 2.x 버젼이 설치되어 있다면 Chirpy 에서 사용하는 모듈과 호환이 되지 않아 여러 기능(다크모드, 검색, 이미지 표시 등)이 정상동작 하지 않음
이후 로컬에서 테스트를 위해 아래의 명령어를 통해 live 로 변경되는 코드가 반영되어 로컬 브라우져에서 확인할 수 있도록 해줍니다. 이후 브라우저에 127.0.0.1:4000 을 입력하면 아래와 같은 화면을 만나실 수 있습니다.
$ bundle exec jekyll serve --livereload
블로그 기본 설정하기
현재 블로그 스킨을 보면 개발자 이름부터 여러가지 config 들이 기본으로 설정되어 있는것을 볼 수 있습니다. 이 모든 설정은 _config.yml 파일로 변경을 해줄수가 있습니다. 메모장 등으로 해당 파일을 열어 여러분들이 원하는 내용으로 변경을 하시면 됩니다.
- lang: ko
- timezone: Asia/Seoul
- title: 블로그 제목
- tagline: title 아래에 부연설명
- description: 블로그 서브 타이틀
- url: ‘https://username.github.io’
- github: username: github_username
- twitter: username: twitter_username
- social: name: 하단에 있는 네임, 기본작성자 바꾸기
- social: email: 이메일 넣기
- social: links: SNS 링크넣기
- google_analytics: 구글 애널리틱스 연결
- google_analytics: pv: 구글 애널리틱스 GA 연결
- avatar: 프로필 사진 넣기
- disqus: shortname: 닉네임 넣기
- paginate: 10 한 목록에 몇개의 글을 표시할 지
하지만 차후에 천천히 변경을 하셔도 됩니다. 급한것은 로컬에서만 chirpy 테마가 적용된 것을 살펴보았고 이제 remote 저장 공간인 github 에 올려서 github.io 주소로 접근을 해서 잘 열리는지 살펴봐야 할것입니다.
chirpy 소스 remote 저장 공간인 github 에 업로드
remote 저장공간에 push 하기 위해서는 앞서 해보았지만 아래의 명령어들을 통해 push 할 수 있습니다
git add .
git commit -m 'Init chirpy'
git push -u origin main
[전체 실행 로그]
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git log -1
commit 1368e77ebbeb9ce601292a6783074bc33ffb989a (HEAD -> main, origin/main, origin/HEAD)
Author: moonbird.thinker <moonbird.thinker@gmail.com>
Date: Sun Aug 13 05:11:14 2023 +0900
Init jekyll
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: .gitignore
modified: Gemfile
modified: Gemfile.lock
modified: README.md
modified: _config.yml
Untracked files:
(use "git add <file>..." to include in what will be committed)
.browserslistrc
.commitlintrc.json
.editorconfig
.gitattributes
.github/
.gitmodules
.husky/
.nojekyll
.prettierrc
.stylelintrc.json
.versionrc.json
CHANGELOG.md
LICENSE
_data/
_includes/
_javascript/
_layouts/
_plugins/
_posts/2019-08-08-text-and-typography.md
_posts/2019-08-08-write-a-new-post.md
_posts/2019-08-09-getting-started.md
_posts/2019-08-11-customize-the-favicon.md
_sass/
_tabs/
assets/
index.html
jekyll-theme-chirpy.gemspec
package.json
rollup.config.js
tools/
no changes added to commit (use "git add" and/or "git commit -a")
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git add .
warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'Gemfile', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'Gemfile.lock', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_config.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.browserslistrc', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.commitlintrc.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.editorconfig', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.gitattributes', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.github/CODE_OF_CONDUCT.md', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '.github/CONTRIBUTING.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.github/FUNDING.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.github/ISSUE_TEMPLATE/bug_report.md', LF will be replaced by CRLF the next time G
it touches it
warning: in the working copy of '.github/ISSUE_TEMPLATE/feature_request.md', LF will be replaced by CRLF the next t
ime Git touches it
warning: in the working copy of '.github/ISSUE_TEMPLATE/help_wanted.md', LF will be replaced by CRLF the next time
Git touches it
warning: in the working copy of '.github/ISSUE_TEMPLATE/question.md', LF will be replaced by CRLF the next time Git
touches it
warning: in the working copy of '.github/PULL_REQUEST_TEMPLATE.md', LF will be replaced by CRLF the next time Git t
ouches it
warning: in the working copy of '.github/SECURITY.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.github/workflows/pages-deploy.yml', LF will be replaced by CRLF the next time Git
touches it
warning: in the working copy of '.gitmodules', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.husky/commit-msg', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.prettierrc', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.stylelintrc.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.versionrc.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'CHANGELOG.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'LICENSE', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/authors.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/contact.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/ar.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/bg-BG.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/cs-CZ.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/de-DE.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/el-GR.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/en.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/es-ES.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/fi-FI.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/fr-FR.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/hu-HU.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/id-ID.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/it-IT.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/ko-KR.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/my-MM.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/pt-BR.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/ru-RU.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/sl-SI.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/sv-SE.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/th.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/tr-TR.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/uk-UA.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/vi-VN.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/zh-CN.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/locales/zh-TW.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/origin/basic.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/origin/cors.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_data/share.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/comments.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/comments/disqus.html', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_includes/comments/giscus.html', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_includes/comments/utterances.html', LF will be replaced by CRLF the next time Git
touches it
warning: in the working copy of '_includes/datetime.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/embed/twitch.html', LF will be replaced by CRLF the next time Git touche
s it
warning: in the working copy of '_includes/embed/youtube.html', LF will be replaced by CRLF the next time Git touch
es it
warning: in the working copy of '_includes/favicons.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/footer.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/google-analytics.html', LF will be replaced by CRLF the next time Git to
uches it
warning: in the working copy of '_includes/head.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/js-selector.html', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_includes/jsdelivr-combine.html', LF will be replaced by CRLF the next time Git to
uches it
warning: in the working copy of '_includes/lang.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/language-alias.html', LF will be replaced by CRLF the next time Git touc
hes it
warning: in the working copy of '_includes/mermaid.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/metadata-hook.html', LF will be replaced by CRLF the next time Git touch
es it
warning: in the working copy of '_includes/mode-toggle.html', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_includes/no-linenos.html', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_includes/origin-type.html', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_includes/post-nav.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/post-paginator.html', LF will be replaced by CRLF the next time Git touc
hes it
warning: in the working copy of '_includes/post-sharing.html', LF will be replaced by CRLF the next time Git touche
s it
warning: in the working copy of '_includes/read-time.html', LF will be replaced by CRLF the next time Git touches i
t
warning: in the working copy of '_includes/refactor-content.html', LF will be replaced by CRLF the next time Git to
uches it
warning: in the working copy of '_includes/related-posts.html', LF will be replaced by CRLF the next time Git touch
es it
warning: in the working copy of '_includes/search-loader.html', LF will be replaced by CRLF the next time Git touch
es it
warning: in the working copy of '_includes/search-results.html', LF will be replaced by CRLF the next time Git touc
hes it
warning: in the working copy of '_includes/sidebar.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/toc.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/topbar.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_includes/trending-tags.html', LF will be replaced by CRLF the next time Git touch
es it
warning: in the working copy of '_includes/update-list.html', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_javascript/_copyright', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_javascript/categories.js', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_javascript/commons.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_javascript/home.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_javascript/misc.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_javascript/modules/components/back-to-top.js', LF will be replaced by CRLF the ne
xt time Git touches it
warning: in the working copy of '_javascript/modules/components/category-collapse.js', LF will be replaced by CRLF
the next time Git touches it
warning: in the working copy of '_javascript/modules/components/clipboard.js', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of '_javascript/modules/components/img-lazyload.js', LF will be replaced by CRLF the n
ext time Git touches it
warning: in the working copy of '_javascript/modules/components/img-popup.js', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of '_javascript/modules/components/locale-datetime.js', LF will be replaced by CRLF th
e next time Git touches it
warning: in the working copy of '_javascript/modules/components/mode-watcher.js', LF will be replaced by CRLF the n
ext time Git touches it
warning: in the working copy of '_javascript/modules/components/search-display.js', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of '_javascript/modules/components/sidebar.js', LF will be replaced by CRLF the next t
ime Git touches it
warning: in the working copy of '_javascript/modules/components/toc.js', LF will be replaced by CRLF the next time
Git touches it
warning: in the working copy of '_javascript/modules/components/tooltip-loader.js', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of '_javascript/modules/layouts.js', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_javascript/modules/layouts/basic.js', LF will be replaced by CRLF the next time G
it touches it
warning: in the working copy of '_javascript/modules/layouts/sidebar.js', LF will be replaced by CRLF the next time
Git touches it
warning: in the working copy of '_javascript/modules/layouts/topbar.js', LF will be replaced by CRLF the next time
Git touches it
warning: in the working copy of '_javascript/modules/plugins.js', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_javascript/page.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_javascript/post.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/archives.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/categories.html', LF will be replaced by CRLF the next time Git touches i
t
warning: in the working copy of '_layouts/category.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/compress.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/default.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/home.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/page.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/post.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/tag.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_layouts/tags.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_plugins/posts-lastmod-hook.rb', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_posts/2019-08-08-text-and-typography.md', LF will be replaced by CRLF the next ti
me Git touches it
warning: in the working copy of '_posts/2019-08-08-write-a-new-post.md', LF will be replaced by CRLF the next time
Git touches it
warning: in the working copy of '_posts/2019-08-09-getting-started.md', LF will be replaced by CRLF the next time G
it touches it
warning: in the working copy of '_posts/2019-08-11-customize-the-favicon.md', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of '_sass/addon/commons.scss', LF will be replaced by CRLF the next time Git touches i
t
warning: in the working copy of '_sass/addon/module.scss', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_sass/addon/syntax.scss', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_sass/addon/variables.scss', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_sass/colors/dark-syntax.scss', LF will be replaced by CRLF the next time Git touc
hes it
warning: in the working copy of '_sass/colors/dark-typography.scss', LF will be replaced by CRLF the next time Git
touches it
warning: in the working copy of '_sass/colors/light-syntax.scss', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_sass/colors/light-typography.scss', LF will be replaced by CRLF the next time Git
touches it
warning: in the working copy of '_sass/jekyll-theme-chirpy.scss', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_sass/layout/archives.scss', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_sass/layout/categories.scss', LF will be replaced by CRLF the next time Git touch
es it
warning: in the working copy of '_sass/layout/category-tag.scss', LF will be replaced by CRLF the next time Git tou
ches it
warning: in the working copy of '_sass/layout/home.scss', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_sass/layout/post.scss', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_sass/layout/tags.scss', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_sass/variables-hook.scss', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of '_tabs/about.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_tabs/archives.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_tabs/categories.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '_tabs/tags.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/404.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/css/style.scss', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/feed.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/img/favicons/browserconfig.xml', LF will be replaced by CRLF the next time
Git touches it
warning: in the working copy of 'assets/img/favicons/site.webmanifest', LF will be replaced by CRLF the next time G
it touches it
warning: in the working copy of 'assets/js/data/search.json', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of 'assets/js/data/swcache.js', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of 'assets/js/pwa/app.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/js/pwa/sw.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/js/pwa/unregister.js', LF will be replaced by CRLF the next time Git touche
s it
warning: in the working copy of 'assets/robots.txt', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'index.html', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'jekyll-theme-chirpy.gemspec', LF will be replaced by CRLF the next time Git touche
s it
warning: in the working copy of 'package.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'rollup.config.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tools/init', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tools/release', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tools/run', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tools/test', LF will be replaced by CRLF the next time Git touches it
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: .browserslistrc
new file: .commitlintrc.json
new file: .editorconfig
new file: .gitattributes
new file: .github/CODE_OF_CONDUCT.md
new file: .github/CONTRIBUTING.md
new file: .github/FUNDING.yml
new file: .github/ISSUE_TEMPLATE/bug_report.md
new file: .github/ISSUE_TEMPLATE/feature_request.md
new file: .github/ISSUE_TEMPLATE/help_wanted.md
new file: .github/ISSUE_TEMPLATE/question.md
new file: .github/PULL_REQUEST_TEMPLATE.md
new file: .github/SECURITY.md
new file: .github/workflows/pages-deploy.yml
modified: .gitignore
new file: .gitmodules
new file: .husky/commit-msg
new file: .nojekyll
new file: .prettierrc
new file: .stylelintrc.json
new file: .versionrc.json
new file: CHANGELOG.md
modified: Gemfile
modified: Gemfile.lock
new file: LICENSE
modified: README.md
modified: _config.yml
new file: _data/authors.yml
new file: _data/contact.yml
new file: _data/locales/ar.yml
new file: _data/locales/bg-BG.yml
new file: _data/locales/cs-CZ.yml
new file: _data/locales/de-DE.yml
new file: _data/locales/el-GR.yml
new file: _data/locales/en.yml
new file: _data/locales/es-ES.yml
new file: _data/locales/fi-FI.yml
new file: _data/locales/fr-FR.yml
new file: _data/locales/hu-HU.yml
new file: _data/locales/id-ID.yml
new file: _data/locales/it-IT.yml
new file: _data/locales/ko-KR.yml
new file: _data/locales/my-MM.yml
new file: _data/locales/pt-BR.yml
new file: _data/locales/ru-RU.yml
new file: _data/locales/sl-SI.yml
new file: _data/locales/sv-SE.yml
new file: _data/locales/th.yml
new file: _data/locales/tr-TR.yml
new file: _data/locales/uk-UA.yml
new file: _data/locales/vi-VN.yml
new file: _data/locales/zh-CN.yml
new file: _data/locales/zh-TW.yml
new file: _data/origin/basic.yml
new file: _data/origin/cors.yml
new file: _data/share.yml
new file: _includes/comments.html
new file: _includes/comments/disqus.html
new file: _includes/comments/giscus.html
new file: _includes/comments/utterances.html
new file: _includes/datetime.html
new file: _includes/embed/twitch.html
new file: _includes/embed/youtube.html
new file: _includes/favicons.html
new file: _includes/footer.html
new file: _includes/google-analytics.html
new file: _includes/head.html
new file: _includes/js-selector.html
new file: _includes/jsdelivr-combine.html
new file: _includes/lang.html
new file: _includes/language-alias.html
new file: _includes/mermaid.html
new file: _includes/metadata-hook.html
new file: _includes/mode-toggle.html
new file: _includes/no-linenos.html
new file: _includes/origin-type.html
new file: _includes/post-nav.html
new file: _includes/post-paginator.html
new file: _includes/post-sharing.html
new file: _includes/read-time.html
new file: _includes/refactor-content.html
new file: _includes/related-posts.html
new file: _includes/search-loader.html
new file: _includes/search-results.html
new file: _includes/sidebar.html
new file: _includes/toc.html
new file: _includes/topbar.html
new file: _includes/trending-tags.html
new file: _includes/update-list.html
new file: _javascript/_copyright
new file: _javascript/categories.js
new file: _javascript/commons.js
new file: _javascript/home.js
new file: _javascript/misc.js
new file: _javascript/modules/components/back-to-top.js
new file: _javascript/modules/components/category-collapse.js
new file: _javascript/modules/components/clipboard.js
new file: _javascript/modules/components/img-lazyload.js
new file: _javascript/modules/components/img-popup.js
new file: _javascript/modules/components/locale-datetime.js
new file: _javascript/modules/components/mode-watcher.js
new file: _javascript/modules/components/search-display.js
new file: _javascript/modules/components/sidebar.js
new file: _javascript/modules/components/toc.js
new file: _javascript/modules/components/tooltip-loader.js
new file: _javascript/modules/layouts.js
new file: _javascript/modules/layouts/basic.js
new file: _javascript/modules/layouts/sidebar.js
new file: _javascript/modules/layouts/topbar.js
new file: _javascript/modules/plugins.js
new file: _javascript/page.js
new file: _javascript/post.js
new file: _layouts/archives.html
new file: _layouts/categories.html
new file: _layouts/category.html
new file: _layouts/compress.html
new file: _layouts/default.html
new file: _layouts/home.html
new file: _layouts/page.html
new file: _layouts/post.html
new file: _layouts/tag.html
new file: _layouts/tags.html
new file: _plugins/posts-lastmod-hook.rb
new file: _posts/2019-08-08-text-and-typography.md
new file: _posts/2019-08-08-write-a-new-post.md
new file: _posts/2019-08-09-getting-started.md
new file: _posts/2019-08-11-customize-the-favicon.md
new file: _sass/addon/commons.scss
new file: _sass/addon/module.scss
new file: _sass/addon/syntax.scss
new file: _sass/addon/variables.scss
new file: _sass/colors/dark-syntax.scss
new file: _sass/colors/dark-typography.scss
new file: _sass/colors/light-syntax.scss
new file: _sass/colors/light-typography.scss
new file: _sass/jekyll-theme-chirpy.scss
new file: _sass/layout/archives.scss
new file: _sass/layout/categories.scss
new file: _sass/layout/category-tag.scss
new file: _sass/layout/home.scss
new file: _sass/layout/post.scss
new file: _sass/layout/tags.scss
new file: _sass/variables-hook.scss
new file: _tabs/about.md
new file: _tabs/archives.md
new file: _tabs/categories.md
new file: _tabs/tags.md
new file: assets/404.html
new file: assets/css/style.scss
new file: assets/feed.xml
new file: assets/img/favicons/android-chrome-192x192.png
new file: assets/img/favicons/android-chrome-512x512.png
new file: assets/img/favicons/apple-touch-icon.png
new file: assets/img/favicons/browserconfig.xml
new file: assets/img/favicons/favicon-16x16.png
new file: assets/img/favicons/favicon-32x32.png
new file: assets/img/favicons/favicon.ico
new file: assets/img/favicons/mstile-150x150.png
new file: assets/img/favicons/site.webmanifest
new file: assets/js/data/search.json
new file: assets/js/data/swcache.js
new file: assets/js/pwa/app.js
new file: assets/js/pwa/sw.js
new file: assets/js/pwa/unregister.js
new file: assets/robots.txt
new file: index.html
new file: jekyll-theme-chirpy.gemspec
new file: package.json
new file: rollup.config.js
new file: tools/init
new file: tools/release
new file: tools/run
new file: tools/test
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git commit -m 'Init chirpy'
[main f8ed517] Init chirpy
173 files changed, 11426 insertions(+), 81 deletions(-)
create mode 100644 .browserslistrc
create mode 100644 .commitlintrc.json
create mode 100644 .editorconfig
create mode 100644 .gitattributes
create mode 100644 .github/CODE_OF_CONDUCT.md
create mode 100644 .github/CONTRIBUTING.md
create mode 100644 .github/FUNDING.yml
create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md
create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md
create mode 100644 .github/ISSUE_TEMPLATE/help_wanted.md
create mode 100644 .github/ISSUE_TEMPLATE/question.md
create mode 100644 .github/PULL_REQUEST_TEMPLATE.md
create mode 100644 .github/SECURITY.md
create mode 100644 .github/workflows/pages-deploy.yml
create mode 100644 .gitmodules
create mode 100644 .husky/commit-msg
create mode 100644 .nojekyll
create mode 100644 .prettierrc
create mode 100644 .stylelintrc.json
create mode 100644 .versionrc.json
create mode 100644 CHANGELOG.md
create mode 100644 LICENSE
create mode 100644 _data/authors.yml
create mode 100644 _data/contact.yml
create mode 100644 _data/locales/ar.yml
create mode 100644 _data/locales/bg-BG.yml
create mode 100644 _data/locales/cs-CZ.yml
create mode 100644 _data/locales/de-DE.yml
create mode 100644 _data/locales/el-GR.yml
create mode 100644 _data/locales/en.yml
create mode 100644 _data/locales/es-ES.yml
create mode 100644 _data/locales/fi-FI.yml
create mode 100644 _data/locales/fr-FR.yml
create mode 100644 _data/locales/hu-HU.yml
create mode 100644 _data/locales/id-ID.yml
create mode 100644 _data/locales/it-IT.yml
create mode 100644 _data/locales/ko-KR.yml
create mode 100644 _data/locales/my-MM.yml
create mode 100644 _data/locales/pt-BR.yml
create mode 100644 _data/locales/ru-RU.yml
create mode 100644 _data/locales/sl-SI.yml
create mode 100644 _data/locales/sv-SE.yml
create mode 100644 _data/locales/th.yml
create mode 100644 _data/locales/tr-TR.yml
create mode 100644 _data/locales/uk-UA.yml
create mode 100644 _data/locales/vi-VN.yml
create mode 100644 _data/locales/zh-CN.yml
create mode 100644 _data/locales/zh-TW.yml
create mode 100644 _data/origin/basic.yml
create mode 100644 _data/origin/cors.yml
create mode 100644 _data/share.yml
create mode 100644 _includes/comments.html
create mode 100644 _includes/comments/disqus.html
create mode 100644 _includes/comments/giscus.html
create mode 100644 _includes/comments/utterances.html
create mode 100644 _includes/datetime.html
create mode 100644 _includes/embed/twitch.html
create mode 100644 _includes/embed/youtube.html
create mode 100644 _includes/favicons.html
create mode 100644 _includes/footer.html
create mode 100644 _includes/google-analytics.html
create mode 100644 _includes/head.html
create mode 100644 _includes/js-selector.html
create mode 100644 _includes/jsdelivr-combine.html
create mode 100644 _includes/lang.html
create mode 100644 _includes/language-alias.html
create mode 100644 _includes/mermaid.html
create mode 100644 _includes/metadata-hook.html
create mode 100644 _includes/mode-toggle.html
create mode 100644 _includes/no-linenos.html
create mode 100644 _includes/origin-type.html
create mode 100644 _includes/post-nav.html
create mode 100644 _includes/post-paginator.html
create mode 100644 _includes/post-sharing.html
create mode 100644 _includes/read-time.html
create mode 100644 _includes/refactor-content.html
create mode 100644 _includes/related-posts.html
create mode 100644 _includes/search-loader.html
create mode 100644 _includes/search-results.html
create mode 100644 _includes/sidebar.html
create mode 100644 _includes/toc.html
create mode 100644 _includes/topbar.html
create mode 100644 _includes/trending-tags.html
create mode 100644 _includes/update-list.html
create mode 100644 _javascript/_copyright
create mode 100644 _javascript/categories.js
create mode 100644 _javascript/commons.js
create mode 100644 _javascript/home.js
create mode 100644 _javascript/misc.js
create mode 100644 _javascript/modules/components/back-to-top.js
create mode 100644 _javascript/modules/components/category-collapse.js
create mode 100644 _javascript/modules/components/clipboard.js
create mode 100644 _javascript/modules/components/img-lazyload.js
create mode 100644 _javascript/modules/components/img-popup.js
create mode 100644 _javascript/modules/components/locale-datetime.js
create mode 100644 _javascript/modules/components/mode-watcher.js
create mode 100644 _javascript/modules/components/search-display.js
create mode 100644 _javascript/modules/components/sidebar.js
create mode 100644 _javascript/modules/components/toc.js
create mode 100644 _javascript/modules/components/tooltip-loader.js
create mode 100644 _javascript/modules/layouts.js
create mode 100644 _javascript/modules/layouts/basic.js
create mode 100644 _javascript/modules/layouts/sidebar.js
create mode 100644 _javascript/modules/layouts/topbar.js
create mode 100644 _javascript/modules/plugins.js
create mode 100644 _javascript/page.js
create mode 100644 _javascript/post.js
create mode 100644 _layouts/archives.html
create mode 100644 _layouts/categories.html
create mode 100644 _layouts/category.html
create mode 100644 _layouts/compress.html
create mode 100644 _layouts/default.html
create mode 100644 _layouts/home.html
create mode 100644 _layouts/page.html
create mode 100644 _layouts/post.html
create mode 100644 _layouts/tag.html
create mode 100644 _layouts/tags.html
create mode 100644 _plugins/posts-lastmod-hook.rb
create mode 100644 _posts/2019-08-08-text-and-typography.md
create mode 100644 _posts/2019-08-08-write-a-new-post.md
create mode 100644 _posts/2019-08-09-getting-started.md
create mode 100644 _posts/2019-08-11-customize-the-favicon.md
create mode 100644 _sass/addon/commons.scss
create mode 100644 _sass/addon/module.scss
create mode 100644 _sass/addon/syntax.scss
create mode 100644 _sass/addon/variables.scss
create mode 100644 _sass/colors/dark-syntax.scss
create mode 100644 _sass/colors/dark-typography.scss
create mode 100644 _sass/colors/light-syntax.scss
create mode 100644 _sass/colors/light-typography.scss
create mode 100644 _sass/jekyll-theme-chirpy.scss
create mode 100644 _sass/layout/archives.scss
create mode 100644 _sass/layout/categories.scss
create mode 100644 _sass/layout/category-tag.scss
create mode 100644 _sass/layout/home.scss
create mode 100644 _sass/layout/post.scss
create mode 100644 _sass/layout/tags.scss
create mode 100644 _sass/variables-hook.scss
create mode 100644 _tabs/about.md
create mode 100644 _tabs/archives.md
create mode 100644 _tabs/categories.md
create mode 100644 _tabs/tags.md
create mode 100644 assets/404.html
create mode 100644 assets/css/style.scss
create mode 100644 assets/feed.xml
create mode 100644 assets/img/favicons/android-chrome-192x192.png
create mode 100644 assets/img/favicons/android-chrome-512x512.png
create mode 100644 assets/img/favicons/apple-touch-icon.png
create mode 100644 assets/img/favicons/browserconfig.xml
create mode 100644 assets/img/favicons/favicon-16x16.png
create mode 100644 assets/img/favicons/favicon-32x32.png
create mode 100644 assets/img/favicons/favicon.ico
create mode 100644 assets/img/favicons/mstile-150x150.png
create mode 100644 assets/img/favicons/site.webmanifest
create mode 100644 assets/js/data/search.json
create mode 100644 assets/js/data/swcache.js
create mode 100644 assets/js/pwa/app.js
create mode 100644 assets/js/pwa/sw.js
create mode 100644 assets/js/pwa/unregister.js
create mode 100644 assets/robots.txt
create mode 100644 index.html
create mode 100644 jekyll-theme-chirpy.gemspec
create mode 100644 package.json
create mode 100644 rollup.config.js
create mode 100644 tools/init
create mode 100644 tools/release
create mode 100644 tools/run
create mode 100644 tools/test
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git push -u origin main
Enumerating objects: 212, done.
Counting objects: 100% (212/212), done.
Delta compression using up to 4 threads
Compressing objects: 100% (196/196), done.
Writing objects: 100% (205/205), 237.40 KiB | 3.08 MiB/s, done.
Total 205 (delta 9), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (9/9), completed with 2 local objects.
To https://github.com/moonbird-thinker/moonbird-thinker.github.io.git
1368e77..f8ed517 main -> main
branch 'main' set up to track 'origin/main'.
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git log -1
commit f8ed517f7e8ed0a92940bc551dd4e8310e7d00ef (HEAD -> main, origin/main, origin/HEAD)
Author: moonbird.thinker <moonbird.thinker@gmail.com>
Date: Mon Aug 14 04:41:30 2023 +0900
Init chirpy
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git log -2
commit f8ed517f7e8ed0a92940bc551dd4e8310e7d00ef (HEAD -> main, origin/main, origin/HEAD)
Author: moonbird.thinker <moonbird.thinker@gmail.com>
Date: Mon Aug 14 04:41:30 2023 +0900
Init chirpy
commit 1368e77ebbeb9ce601292a6783074bc33ffb989a
Author: moonbird.thinker <moonbird.thinker@gmail.com>
Date: Sun Aug 13 05:11:14 2023 +0900
Init jekyll
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
이슈 해결 1
그런데 아래와 같이 이상한 에러가 보입니다. 쉽게 되는게 어디있겠습니까? 항상 문제가 있는건 당연 합니다. 자 이제 해결을 해나가 보겠습니다.
위 결과는 빌드가 잘 되질 않아서 빌생한 에러로 github 세팅에 pages 라는 곳에 들어가서 github action 을 활성화 해주셔야 합니다.
1. 배포 전 아래와 같이 Settings - pages - Build and deployment 에서 소스를 github action 으로 변경합니다.
2. configure 를 선택합니다.
3. 별도의 수정 없이 Commit change... 를 선택 후
4. Commit changes 버튼을 눌러줍니다.
이슈 해결 2
위 수행을 하고 github action 에 들어가보니 아래와 같이 빌드가 실패되었습니다.
그래서 빌드 실패의 원인을 보니 아래와 같이 Setup Ruby를 할때 먼가 이상이 있나 봅니다. 그래서 자료를 좀 찾아보니
gemfile.lock 의 문제로 아래의 명령어를 사용하여 해결하라고 가이드 되어 있습니다.
bundle lock --add-platform x86_64-linux
아래 화면을 보면 위의 power shell 에 "bundle lock --add-platform x86_64-linux"를 입력하고 git bash 에는 git status 를 통해 Gemfile.lock 파일이 수정이 되었음을 확인할 수 있습니다.
이것은 remote 에 반영되어야 하기 때문에 위와 같이 git push 를 진행합니다. 이번에는 앞서 push 한 내용이 remote 에 반영이 된 상태기 때문에 git pull 을 통해 remote의 내용과 sync 를 맞춰준 이후에 git push 과정을 거치겠습니다
git pull
git add .
git commit -m 'Init Gemfile.lock'
git push -u origin main
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git pull
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), 1.73 KiB | 104.00 KiB/s, done.
From https://github.com/moonbird-thinker/moonbird-thinker.github.io
f8ed517..fe3f376 main -> origin/main
Updating f8ed517..fe3f376
Fast-forward
.github/workflows/jekyll.yml | 64 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 .github/workflows/jekyll.yml
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git log -1
commit fe3f376508c86db537f30df97857b1cb9231e08c (HEAD -> main, origin/main, origin/HEAD)
Author: Moonbird.thinker <140466137+moonbird-thinker@users.noreply.github.com>
Date: Mon Aug 14 04:57:49 2023 +0900
Create jekyll.yml
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Gemfile.lock
no changes added to commit (use "git add" and/or "git commit -a")
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git add .
warning: in the working copy of 'Gemfile.lock', LF will be replaced by CRLF the next time Git touches it
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git commit -m "Init Gemfile.lock"
[main 05857d0] Init Gemfile.lock
1 file changed, 7 insertions(+)
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git push -u origin main
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 369 bytes | 369.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To https://github.com/moonbird-thinker/moonbird-thinker.github.io.git
fe3f376..05857d0 main -> main
branch 'main' set up to track 'origin/main'.
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
이슈 해결 3
이제 모든게 해결되었을꺼라 믿었는데 아닙니다. 아래와 같이 github action 에서 확인해 보면 min.js 형식의 파일들이 모두 존재하지 않는다고 나옵니다
이것은 node.js 모듈을 설치하고 initial 과 build 를 하지 않으면 발생하는 에러로 asset/js/dist/*.min.js Not Found 에러 발생과 함께 블로그 기능이 정상적으로 동작하지 않습니다. 이 문제를 해결하기 위해 먼저 nodejs 를 깔아주어야(https://nodejs.org/ko/download) 하는데 nodejs 를 깔면 npm(node package manager) 도 같이 깔리게 되는데 이 npm 을 이용해서 initial 과 build를 해주면 됩니다.
npm install && npm run build
그런데 위 명령어를 실행하면 'NODE_ENV'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. 라는 문구와 함께 build 가 되질 않습니다.
이럴땐 아래의 명령어를 이용하여 에러를 해결하고 다시금 빌드를 합니다.
npm install -g win-node-env
이제 min.js 파일들이 생성이된 것을 볼 수 있습니다. 그럼 이제 remote 도 sync 를 맞추기 위해 github 에 push 를 하도록 하겠습니다. 그런데 assets/js/dist 는 .gitignore 라는 파일에 말그대로 ignore 된 부분이기에 소스가 겉으로 들어나질 않은다 즉 무시되고 있는 min.js 파일들인 것입니다. 그래서 .gitignore 파일안에 assets/js/dist 부분을 주석처리 해주어야 합니다.
# Bundler cache
.bundle
vendor
Gemfile.lock
# Jekyll cache
.jekyll-cache
_site
# RubyGems
*.gem
# NPM dependencies
node_modules
package-lock.json
# IDE configurations
.idea
.vscode
# Misc
# assets/js/dist ### 주석처리
그리고 이제 git push 과정을 아래와 같이 수행해 줍니다.
git add .
git commit -m 'Update .gitignore and npm build'
git push -u origin main
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: .gitignore
Untracked files:
(use "git add <file>..." to include in what will be committed)
assets/js/dist/
no changes added to commit (use "git add" and/or "git commit -a")
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git add .
warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'assets/js/dist/categories.min.js', LF will be replaced by CRLF the next time Git t
ouches it
warning: in the working copy of 'assets/js/dist/commons.min.js', LF will be replaced by CRLF the next time Git touc
hes it
warning: in the working copy of 'assets/js/dist/home.min.js', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of 'assets/js/dist/misc.min.js', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of 'assets/js/dist/page.min.js', LF will be replaced by CRLF the next time Git touches
it
warning: in the working copy of 'assets/js/dist/post.min.js', LF will be replaced by CRLF the next time Git touches
it
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: .gitignore
new file: assets/js/dist/categories.min.js
new file: assets/js/dist/commons.min.js
new file: assets/js/dist/home.min.js
new file: assets/js/dist/misc.min.js
new file: assets/js/dist/page.min.js
new file: assets/js/dist/post.min.js
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git commit -m 'Update .gitignore and npm build'
[main eb60afe] Update .gitignore and npm build
7 files changed, 37 insertions(+), 1 deletion(-)
create mode 100644 assets/js/dist/categories.min.js
create mode 100644 assets/js/dist/commons.min.js
create mode 100644 assets/js/dist/home.min.js
create mode 100644 assets/js/dist/misc.min.js
create mode 100644 assets/js/dist/page.min.js
create mode 100644 assets/js/dist/post.min.js
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
HOME@LENOVO-M72E MINGW64 ~/workspace/moonbird-thinker.github.io (main)
$ git push -u origin main
Enumerating objects: 16, done.
Counting objects: 100% (16/16), done.
Delta compression using up to 4 threads
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 7.16 KiB | 1.79 MiB/s, done.
Total 12 (delta 8), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (8/8), completed with 3 local objects.
To https://github.com/moonbird-thinker/moonbird-thinker.github.io.git
05857d0..eb60afe main -> main
branch 'main' set up to track 'origin/main'.
그러면 아래와 같이 github action 에서 확인을 하였을때 아애와 같이 최종적인 build와 deploy 가 정상적으로 되었음을 확인할 수 있습니다.
제발.... 와우 성공!!!
다양한 플랫폼에서 자동화를 하고싶으신 분들은 아래의 오픈방(무료코드 및 무료강의 제공)을 통해 이야기 나누고 있습니다. 관심있으신 분들은 함께해요!!! (코드 0123을 입력하고 들어오세요!!!)
https://open.kakao.com/o/gXPgJC9d
다루는 주제들 : 티스토리, 네이버블로그, 워드프레스, 유튜브, 인스타, 트위터, 페북, 숏폼, 메타플랫폼, 카카오뷰, 쿠팡파트너스, 뉴스픽, 애드픽, 오아시스 등 다양한 주제로 자동화에 대해 같이 이야기 하고 있습니다.
'IT > IT Tip' 카테고리의 다른 글
github pages 블로그 만들기 - repository 생성 및 jekyll 사이트 생성 (0) | 2023.08.13 |
---|---|
github pages 블로그 만들기 - ruby와 jekyll 설치 (0) | 2023.08.13 |
Github pages 블로그 선택한 이유와 jekyll 테마 (window) (0) | 2023.08.13 |
git(깃) 설치와 간단 사용방법, github 연동 (0) | 2023.08.12 |
깃허브(GitHub) 회원 가입 (계정 생성) (0) | 2023.08.12 |