Try doing a wee cleanup

This commit is contained in:
Nikolai Rodionov 2023-05-08 14:48:02 +02:00
parent ae45b107eb
commit aa788f30bc
No known key found for this signature in database
GPG Key ID: 906851F91B1DA3EF
212 changed files with 4923 additions and 15 deletions

View File

@ -4,8 +4,8 @@
node_modules/**/*
node_modules
static/**/*
static
src/static/**/*
src/static
scripts/**/*
scripts

View File

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

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

@ -1,5 +1,3 @@
node_modules
#static
content/cv/index.pdf
public
resources
src/node_modules
src/public
src/resources

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "themes/papermod"]
path = themes/papermod
path = src/themes/papermod
url = https://github.com/adityatelange/hugo-PaperMod.git

View File

@ -1,4 +1,4 @@
FROM git.badhouseplants.net/badhouseplants/hugo-builder
WORKDIR /src
COPY . /src
COPY ./src /src
ENTRYPOINT ["hugo"]

View File

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