Try doing a wee cleanup
This commit is contained in:
parent
ae45b107eb
commit
aa788f30bc
@ -4,8 +4,8 @@
|
|||||||
node_modules/**/*
|
node_modules/**/*
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
static/**/*
|
src/static/**/*
|
||||||
static
|
src/static
|
||||||
|
|
||||||
scripts/**/*
|
scripts/**/*
|
||||||
scripts
|
scripts
|
||||||
|
@ -49,7 +49,7 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- clone
|
- clone
|
||||||
commands:
|
commands:
|
||||||
- hugo
|
- hugo -s ./src
|
||||||
|
|
||||||
- name: Build and push the docker image
|
- name: Build and push the docker image
|
||||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:80ffd53372652576fa3c36a56b351b448a025c6a
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:80ffd53372652576fa3c36a56b351b448a025c6a
|
||||||
@ -192,4 +192,4 @@ steps:
|
|||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- npm i markdown-spellcheck -g
|
- npm i markdown-spellcheck -g
|
||||||
- mdspell "**/*.md" -n -r
|
- mdspell "src/**/*.md" -n -r
|
||||||
|
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -1,2 +1,2 @@
|
|||||||
static/** filter=lfs diff=lfs merge=lfs -text
|
src/static/** filter=lfs diff=lfs merge=lfs -text
|
||||||
static/**/* filter=lfs diff=lfs merge=lfs -text
|
src/static/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,5 +1,3 @@
|
|||||||
node_modules
|
src/node_modules
|
||||||
#static
|
src/public
|
||||||
content/cv/index.pdf
|
src/resources
|
||||||
public
|
|
||||||
resources
|
|
||||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "themes/papermod"]
|
[submodule "themes/papermod"]
|
||||||
path = themes/papermod
|
path = src/themes/papermod
|
||||||
url = https://github.com/adityatelange/hugo-PaperMod.git
|
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM git.badhouseplants.net/badhouseplants/hugo-builder
|
FROM git.badhouseplants.net/badhouseplants/hugo-builder
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . /src
|
COPY ./src /src
|
||||||
ENTRYPOINT ["hugo"]
|
ENTRYPOINT ["hugo"]
|
||||||
|
@ -19,7 +19,7 @@ print `git -C /tmp/$git_commit_sha lfs pull` or die;
|
|||||||
|
|
||||||
print "Creating a new hashed dir in the common bucket\n";
|
print "Creating a new hashed dir in the common bucket\n";
|
||||||
|
|
||||||
print `rclone copy /tmp/$git_commit_sha/static "$common_bucket/$git_commit_sha"` or die;
|
print `rclone copy /tmp/$git_commit_sha/src/static "$common_bucket/$git_commit_sha"` or die;
|
||||||
|
|
||||||
if ($git_branch eq $main_branch) {
|
if ($git_branch eq $main_branch) {
|
||||||
print "Syncing to the production bucket\n";
|
print "Syncing to the production bucket\n";
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user