Remove gzip from CI

now handled by hexo-yam
This commit is contained in:
curben 2018-09-29 15:33:51 +09:30
parent cea34ae81d
commit 19eaf310af
3 changed files with 7 additions and 5 deletions

View File

@ -12,9 +12,10 @@ pages:
- snyk protect # Apply patches to node modules
- snyk test # Check node modules for vulnerability
- hexo deploy # deploy the site
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \; # Compress files
artifacts:
paths:
- public # deploy to the 'public' folder
only:
- master # this job will affect only the 'master' branch

7
package-lock.json generated
View File

@ -1716,12 +1716,13 @@
}
},
"hexo-yam": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/hexo-yam/-/hexo-yam-0.3.0.tgz",
"integrity": "sha512-XGO6dye3ybp8VFicslAGYmPslorMyTNFOwoJX4qtoFS8r4Qc0A0CqxX9Eq4nAosysQnPDJ4+G3XAhyD13liyoA==",
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/hexo-yam/-/hexo-yam-0.4.4.tgz",
"integrity": "sha512-slplSsfKP3LekeZBLAJWFIrBtGyBA+50QpLA1QqUiZAJOo5lM1MFStH+8uK/zWNqhNRp+8t6O+wYOGQbs/aWtw==",
"requires": {
"bluebird": "^3.5.2",
"clean-css": "^4.2.1",
"hexo-fs": "^0.2.3",
"html-minifier": "^3.5.20",
"minimatch": "^3.0.4",
"object-assign": "^4.1.1",

View File

@ -115,7 +115,7 @@ description:
### Project page
If you prefer to have a project page on GitLab:
1. go to `Settings -> General -> Advanced -> Rename repository`. Change the Path to `<directory>`, so the website is available at `<your-username>.gitlab.io/<directory>`, `<directory>` can be any name, like `blog` or `hexo`.
1. Edit `_config.yml`, change the `root:` value from `""` to `"/<directory/"`.
1. Edit `_config.yml`, change the `root:` value from `""` to `"/<directory>/"`.
1. Commit and push.
### Remove fork relationship