diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 71f5d46..b4150b7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -16,14 +16,27 @@ jobs: - name: Checkout Docs Source uses: actions/checkout@v4 - - name: Sync Markdown to Hugo Site + - name: Sync Markdown and Assets to Hugo Site run: | - # Clean the existing content in the mounted Hugo site + # Clean the existing content and static in the mounted Hugo site rm -rf /hugo-site/content/* + # The static symlink in hugo-site won't work inside the container context + # because the path '/srv/docs/public/static' doesn't exist inside the container. + # We must replace the symlink with a real folder for the build. + rm -f /hugo-site/static + mkdir -p /hugo-site/static + # Copy the new content from this repo into the Hugo content folder cp -r . /hugo-site/content/ + + # Copy static files if they exist in this repo + if [ -d "./static" ]; then + cp -r ./static/* /hugo-site/static/ + fi + # Remove Git-related metadata from the content folder rm -rf /hugo-site/content/.git /hugo-site/content/.gitea + rm -rf /hugo-site/content/static - name: Build and Deploy Hugo run: | diff --git a/static/DOMAINS b/static/DOMAINS new file mode 100644 index 0000000..eaa53c1 --- /dev/null +++ b/static/DOMAINS @@ -0,0 +1 @@ +wiki.wompmacho.com \ No newline at end of file diff --git a/static/downloads/2025_Resume_Michael_Braicu.pdf b/static/downloads/2025_Resume_Michael_Braicu.pdf new file mode 100644 index 0000000..16a0f77 Binary files /dev/null and b/static/downloads/2025_Resume_Michael_Braicu.pdf differ diff --git a/static/icons/icon.svg b/static/icons/icon.svg new file mode 100644 index 0000000..a6b3b30 --- /dev/null +++ b/static/icons/icon.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + +