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/**/*
node_modules node_modules
static/**/* src/static/**/*
static src/static
scripts/**/* scripts/**/*
scripts scripts

View File

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

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

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

2
.gitmodules vendored
View File

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

View File

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

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