1
Fork 0

Add static pipeline

This commit is contained in:
Jake Howard 2019-02-04 13:46:15 +00:00
parent 6469d5d69e
commit ba0bbd4fe5
Signed by: jake
GPG key ID: 57AFB45680EDD477
7 changed files with 131 additions and 5213 deletions

90
.gitignore vendored
View file

@ -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

View file

@ -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
View file

@ -0,0 +1,3 @@
---
title: Give Money To Me
---

5213
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -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
View 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

View file

@ -0,0 +1 @@
@import "node_modules/bootstrap/scss/bootstrap";