hexojs / hexo-deployer-git

Git deployer plugin for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

there is tags directory on deploy directory, but, on released github, there is no tags directory.

vikke opened this issue · comments

commented

Check List

Please check followings before submitting a new issue.

  • I have already read Docs page & Troubleshooting page
  • I have already searched existing issues and they are not help to me
  • I examined error or warning messages and it's difficult to solve
  • Using the latest version of Hexo (run hexo version to check)
  • Node.js is higher than 8.6.0

Question

i try to deploy github pages.

hexo clean
hexo g
hexo d

there is deployed to directories, but, on released github, there is no tags directory.

local

[master]$ ls public
2014             2020             css              favicon.ico      js               sitemap.xml      tag-sitemap.xml
2016             archives         fancybox         index.html       post-sitemap.xml sitemap.xsl      tags

remote

vikke@kosanji:~/vcswork/vikke.github.io
[gh-pages]$ ls
2014             2020             css              favicon.ico      js               sitemap.xml      tag-sitemap.xml
2016             archives         fancybox         index.html       post-sitemap.xml sitemap.xsl

Environment & Settings

OS: mac mojave
node: v13.6.0
hexo: hexo-cli: 3.1.0
targert env: github page

Node.js & npm version

[master]$ node --version
v13.6.0
[master]$ npm --version
6.13.4

Your theme _config.yml (Optional)

deploy:
  type: 'git'
  repo: git@github.com:vikke/vikke.github.io.git
  branch: gh-pages
  message: do

Hexo and Plugin version(npm ls --depth 0)

[master]$ npm ls --depth 0
hexo-site@0.0.0 /Users/vikke/vcswork/hexo/blog
├── fsevents@2.1.2
├── hexo@4.2.0
├── hexo-deployer-git@2.1.0
├── hexo-generator-archive@1.0.0
├── hexo-generator-category@1.0.0
├── hexo-generator-index@1.0.0
├── hexo-generator-seo-friendly-sitemap@0.0.25
├── hexo-generator-tag@1.0.0
├── hexo-renderer-ejs@1.0.0
├── hexo-renderer-marked@2.0.0
├── hexo-renderer-stylus@1.1.0
├── hexo-server@1.0.0
├── hexo-tag-fontawesome@1.0.0
├── hexo-tag-google-photos-album@1.0.5
├── hexo-tag-googlemaps@1.2.1
└── hexo-tag-twitter@1.0.1

Your package.json package.json

vikke@kosanji:~/vcswork/hexo/blog
[master]$ cat package.json
{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "build": "hexo generate",
    "clean": "hexo clean",
    "deploy": "hexo deploy",
    "server": "hexo server"
  },
  "hexo": {
    "version": "4.2.0"
  },
  "dependencies": {
    "fsevents": "^2.1.2",
    "hexo": "^4.0.0",
    "hexo-deployer-git": "^2.1.0",
    "hexo-generator-archive": "^1.0.0",
    "hexo-generator-category": "^1.0.0",
    "hexo-generator-index": "^1.0.0",
    "hexo-generator-seo-friendly-sitemap": "0.0.25",
    "hexo-generator-tag": "^1.0.0",
    "hexo-renderer-ejs": "^1.0.0",
    "hexo-renderer-marked": "^2.0.0",
    "hexo-renderer-stylus": "^1.1.0",
    "hexo-server": "^1.0.0",
    "hexo-tag-fontawesome": "^1.0.0",
    "hexo-tag-google-photos-album": "^1.0.5",
    "hexo-tag-googlemaps": "^1.2.1",
    "hexo-tag-twitter": "^1.0.1"
  }
}


Others

commented

Is this the same issue you encountered: #169

@vikke Please check .gitignore settings

commented

There is a discussion about it: #169
I'm closing this issue. Please join the discussion there :)