Try doing a wee cleanup
This commit is contained in:
parent
ae45b107eb
commit
aa788f30bc
@ -4,8 +4,8 @@
|
||||
node_modules/**/*
|
||||
node_modules
|
||||
|
||||
static/**/*
|
||||
static
|
||||
src/static/**/*
|
||||
src/static
|
||||
|
||||
scripts/**/*
|
||||
scripts
|
||||
|
@ -49,7 +49,7 @@ steps:
|
||||
depends_on:
|
||||
- clone
|
||||
commands:
|
||||
- hugo
|
||||
- hugo -s ./src
|
||||
|
||||
- name: Build and push the docker image
|
||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:80ffd53372652576fa3c36a56b351b448a025c6a
|
||||
@ -192,4 +192,4 @@ steps:
|
||||
image: node
|
||||
commands:
|
||||
- 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
|
||||
static/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
src/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
|
||||
#static
|
||||
content/cv/index.pdf
|
||||
public
|
||||
resources
|
||||
src/node_modules
|
||||
src/public
|
||||
src/resources
|
||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "themes/papermod"]
|
||||
path = themes/papermod
|
||||
path = src/themes/papermod
|
||||
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM git.badhouseplants.net/badhouseplants/hugo-builder
|
||||
WORKDIR /src
|
||||
COPY . /src
|
||||
COPY ./src /src
|
||||
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 `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) {
|
||||
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