mirror of https://gitlab.com/curben/blog
parent
cea34ae81d
commit
19eaf310af
|
@ -12,9 +12,10 @@ pages:
|
||||||
- snyk protect # Apply patches to node modules
|
- snyk protect # Apply patches to node modules
|
||||||
- snyk test # Check node modules for vulnerability
|
- snyk test # Check node modules for vulnerability
|
||||||
- hexo deploy # deploy the site
|
- hexo deploy # deploy the site
|
||||||
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \; # Compress files
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public # deploy to the 'public' folder
|
- public # deploy to the 'public' folder
|
||||||
|
|
||||||
only:
|
only:
|
||||||
- master # this job will affect only the 'master' branch
|
- master # this job will affect only the 'master' branch
|
||||||
|
|
|
@ -1716,12 +1716,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hexo-yam": {
|
"hexo-yam": {
|
||||||
"version": "0.3.0",
|
"version": "0.4.4",
|
||||||
"resolved": "https://registry.npmjs.org/hexo-yam/-/hexo-yam-0.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/hexo-yam/-/hexo-yam-0.4.4.tgz",
|
||||||
"integrity": "sha512-XGO6dye3ybp8VFicslAGYmPslorMyTNFOwoJX4qtoFS8r4Qc0A0CqxX9Eq4nAosysQnPDJ4+G3XAhyD13liyoA==",
|
"integrity": "sha512-slplSsfKP3LekeZBLAJWFIrBtGyBA+50QpLA1QqUiZAJOo5lM1MFStH+8uK/zWNqhNRp+8t6O+wYOGQbs/aWtw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"bluebird": "^3.5.2",
|
"bluebird": "^3.5.2",
|
||||||
"clean-css": "^4.2.1",
|
"clean-css": "^4.2.1",
|
||||||
|
"hexo-fs": "^0.2.3",
|
||||||
"html-minifier": "^3.5.20",
|
"html-minifier": "^3.5.20",
|
||||||
"minimatch": "^3.0.4",
|
"minimatch": "^3.0.4",
|
||||||
"object-assign": "^4.1.1",
|
"object-assign": "^4.1.1",
|
||||||
|
|
|
@ -115,7 +115,7 @@ description:
|
||||||
### Project page
|
### Project page
|
||||||
If you prefer to have a project page on GitLab:
|
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. 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.
|
1. Commit and push.
|
||||||
|
|
||||||
### Remove fork relationship
|
### Remove fork relationship
|
||||||
|
|
Loading…
Reference in New Issue