diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml new file mode 100644 index 0000000..5ebe190 --- /dev/null +++ b/.woodpecker/deploy.yaml @@ -0,0 +1,17 @@ +when: + - event: push + branch: main + - event: cron + cron: weekly + +steps: + - name: build + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/amd64 + registry: http://git-ci-registry/ + repo: liam/offshoreshellcompany + dockerfile: Dockerfile + tags: latest + + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c8bd64d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM ghcr.io/getzola/zola:v0.22.1 AS zola + +COPY . /site +WORKDIR /site +RUN ["zola", "build"] + +FROM joseluisq/static-web-server AS sws +WORKDIR / +COPY --from=zola /site/public /public + +CMD ["--page404", "/public/404.html"] \ No newline at end of file diff --git a/README.md b/README.md index c82462e..77db088 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Offshore Shell Company Website +[![status-badge](https://locus.offshoreshell.company/ci/api/badges/1/status.svg?events=deployment)](https://locus.offshoreshell.company/ci/repos/1) +![pride-badge](https://pride-badges.pony.workers.dev/static/v1?label=enbyware&labelColor=%23555&stripeWidth=8&stripeColors=fff430%2Cffffff%2C9c59d1%2C292929) + This is the tounge-in-cheek website I put together to serve as a landing page for the domain that hosts all my services, including my Forgejo and Woodpecker servers. diff --git a/config.toml b/config.toml index d8fd3bd..dcbddb9 100644 --- a/config.toml +++ b/config.toml @@ -11,11 +11,10 @@ minify_html = true build_search_index = false generate_feeds = false generate_sitemap = false -generate_robots_txt = true +generate_robots_txt = false [markdown] render_emoji = true -highlight_code = false smart_punctuation = true bottom_footnotes = true github_alerts = true diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..6c95e96 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,26 @@ + + + + Not Found + + + + + + + + + + + +

OFFSHORE SHELL COMPANY

+

Page not found. Go home.

+
+
+
+

+ Copyright © Liam "AyesC" Hogan under + Creative Commons Attribution-NonCommercial 4.0 International +

+ + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 0ccb5e8..6c82980 100644 --- a/templates/index.html +++ b/templates/index.html @@ -38,6 +38,7 @@

{{ service.description }}

{% endfor %} +

Copyright © Liam "AyesC" Hogan under Creative Commons Attribution-NonCommercial 4.0 International