mirror of https://gitlab.com/curben/blog
parent
cea34ae81d
commit
19eaf310af
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue