Add static pipeline
This commit is contained in:
parent
6469d5d69e
commit
ba0bbd4fe5
7 changed files with 131 additions and 5213 deletions
90
.gitignore
vendored
90
.gitignore
vendored
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
# Created by https://www.gitignore.io/api/hugo
|
# Created by https://www.gitignore.io/api/node,hugo
|
||||||
# Edit at https://www.gitignore.io/?templates=hugo
|
# Edit at https://www.gitignore.io/?templates=node,hugo
|
||||||
|
|
||||||
### Hugo ###
|
### Hugo ###
|
||||||
### Hugo ###
|
### Hugo ###
|
||||||
|
@ -16,4 +16,88 @@ hugo.exe
|
||||||
hugo.darwin
|
hugo.darwin
|
||||||
hugo.linux
|
hugo.linux
|
||||||
|
|
||||||
# End of https://www.gitignore.io/api/hugo
|
### Node ###
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/)
|
||||||
|
bower_components
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
|
node_modules/
|
||||||
|
jspm_packages/
|
||||||
|
|
||||||
|
# TypeScript v1 declaration files
|
||||||
|
typings/
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm
|
||||||
|
|
||||||
|
# Optional eslint cache
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# Yarn Integrity file
|
||||||
|
.yarn-integrity
|
||||||
|
|
||||||
|
# dotenv environment variables file
|
||||||
|
.env
|
||||||
|
.env.test
|
||||||
|
|
||||||
|
# parcel-bundler cache (https://parceljs.org/)
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# next.js build output
|
||||||
|
.next
|
||||||
|
|
||||||
|
# nuxt.js build output
|
||||||
|
.nuxt
|
||||||
|
|
||||||
|
# vuepress build output
|
||||||
|
.vuepress/dist
|
||||||
|
|
||||||
|
# Serverless directories
|
||||||
|
.serverless/
|
||||||
|
|
||||||
|
# FuseBox cache
|
||||||
|
.fusebox/
|
||||||
|
|
||||||
|
# DynamoDB Local files
|
||||||
|
.dynamodb/
|
||||||
|
|
||||||
|
# End of https://www.gitignore.io/api/node,hugo
|
||||||
|
|
||||||
|
static/build
|
||||||
|
|
14
config.yml
14
config.yml
|
@ -1,2 +1,16 @@
|
||||||
baseURL: "https://givemoneyto.me/"
|
baseURL: "https://givemoneyto.me/"
|
||||||
title: "Give money to me"
|
title: "Give money to me"
|
||||||
|
|
||||||
|
staticDir: static/build
|
||||||
|
assetDir: static/build
|
||||||
|
|
||||||
|
disableKinds:
|
||||||
|
- sitemap
|
||||||
|
- taxonomyTerm
|
||||||
|
- 404
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
home:
|
||||||
|
- html
|
||||||
|
page:
|
||||||
|
- html
|
||||||
|
|
3
content/_index.md
Normal file
3
content/_index.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
title: Give Money To Me
|
||||||
|
---
|
5213
package-lock.json
generated
5213
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -2,8 +2,7 @@
|
||||||
"name": "givemoneyto.me",
|
"name": "givemoneyto.me",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {},
|
||||||
},
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/RealOrangeOne/givemoneyto.me.git"
|
"url": "git+https://github.com/RealOrangeOne/givemoneyto.me.git"
|
||||||
|
@ -14,7 +13,8 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/RealOrangeOne/givemoneyto.me#readme",
|
"homepage": "https://github.com/RealOrangeOne/givemoneyto.me#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fortawesome/fontawesome-free": "^5.7.1",
|
||||||
|
"bootstrap": "4.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
15
scripts/build.sh
Executable file
15
scripts/build.sh
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf public/
|
||||||
|
|
||||||
|
mkdir -p static/build/js static/build/css
|
||||||
|
|
||||||
|
cp -r static/src/* static/build
|
||||||
|
|
||||||
|
cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js static/build/js/bootstrap.js
|
||||||
|
cp -r node_modules/@fortawesome/fontawesome-free/css/all.min.css static/build/css/font-awesome.css
|
||||||
|
cp -r node_modules/@fortawesome/fontawesome-free/webfonts static/build
|
||||||
|
|
||||||
|
hugo -v --stepAnalysis --gc
|
1
static/src/scss/index.scss
Normal file
1
static/src/scss/index.scss
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@import "node_modules/bootstrap/scss/bootstrap";
|
Reference in a new issue