diff --git a/.builds/deploy.yml b/.builds/deploy.yml deleted file mode 100644 index 8952266..0000000 --- a/.builds/deploy.yml +++ /dev/null @@ -1,21 +0,0 @@ -image: debian/bullseye -packages: - - nodejs - - rsync -repositories: - nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280 -environment: - REMOTE: cloud.lauka.net -secrets: - - 54755283-43f7-44a6-97fb-70db08184ff1 -tasks: - - prepare: | - cd www-lauka-net - npm install -D @11ty/eleventy - - build: | - cd www-lauka-net - npx @11ty/eleventy --input=./ --output=public - - deploy: | - ssh-keyscan -t ed25519 $REMOTE >> $HOME/.ssh/known_hosts - cd www-lauka-net/public - rsync -avh --delete --chown=webadmin:caddy ./ webadmin@$REMOTE:/webroot/www.lauka.net diff --git a/.well-known/.gitkeep b/.well-known/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.well-known/matrix/client b/.well-known/matrix/client deleted file mode 100644 index ab08d53..0000000 --- a/.well-known/matrix/client +++ /dev/null @@ -1,5 +0,0 @@ -{ - "m.homeserver": { - "base_url": "https://matrix.lauka.net" - } -} diff --git a/.well-known/matrix/server b/.well-known/matrix/server deleted file mode 100644 index e0df730..0000000 --- a/.well-known/matrix/server +++ /dev/null @@ -1,3 +0,0 @@ -{ - "m.server": "matrix.lauka.net:443" -} diff --git a/.woodpecker.yml b/.woodpecker.yml index a2d10d0..a557b07 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,16 +1,26 @@ +when: + event: push + branch: main pipeline: build: - image: node:latest + image: node:19 commands: - npm install -D @11ty/eleventy - npx @11ty/eleventy --input=. --output=public deploy: - image: node:18 - secrets: - - SWA_CLI_DEPLOYMENT_TOKEN + image: alpine:latest + secrets: + - SSH_KEY + environment: + - TARGET_SERVER=cloud.lauka.net + - TARGET_USER=webadmin + - TARGET_PATH=/webroot/www.lauka.net commands: - - npm install -D @azure/static-web-apps-cli - - npx @azure/static-web-apps-cli deploy ./public --env Production - -branches: main + - apk add --update --no-cache openssh rsync git + - mkdir -p $HOME/.ssh + - echo "$SSH_KEY" > $HOME/.ssh/id_ed25519 + - chmod 0600 $HOME/.ssh/id_ed25519 + - ssh-keyscan -t ed25519 $TARGET_SERVER >> $HOME/.ssh/known_hosts + - cd public/ + - rsync -avh --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH diff --git a/README.md b/README.md index ff8839e..b691d51 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # www.lauka.net -## SourceHut deploy status -[![SourceHut CI Status](https://builds.sr.ht/~lauralani/www-lauka-net.svg)](https://builds.sr.ht/~lauralani/www-lauka-net) +## Deploy Status +[![CI Status Badge](https://ci.codeberg.org/api/badges/lauralani/www-lauka-net/status.svg)](https://ci.codeberg.org/lauralani/www-lauka-net) ## About This is the source code for my personal website. -It's an entirely static webpage generated by Eleventy and hosted with Caddy. +It's an entirely static webpage built with [Eleventy](https://www.11ty.dev/) and hosted with Caddy. diff --git a/index.njk b/index.njk index 267c759..2f95f79 100644 --- a/index.njk +++ b/index.njk @@ -18,7 +18,8 @@ eleventyExcludeFromCollections: true I'm a network engineer, with a pretty mixed technical background. I started my career in software development, and then moved on to be a sysadmin with main emphasis on linux environments. Afterwards, I was a mix of network engineer and site reliability engineer. Now I'm responsible for the network infrastructure at a big datacenter provider. Currently I'm - primarily working on network automation and our internal network infrastructure. + primarily working on network automation and our internal network infrastructure, and I'm playing a lot with the Golang + programming language =).

Books

@@ -49,17 +50,18 @@ eleventyExcludeFromCollections: true that I already have worked on or that I want to work on in the future.

@@ -80,6 +82,7 @@ eleventyExcludeFromCollections: true @lauralani@chaos.social
  • mail (at) (this domain)
  • +
  • matrix: @lauralani:matrix.org
  • LinkedIn
  • @@ -90,7 +93,7 @@ eleventyExcludeFromCollections: true

    About

    This website is open source and hosted at - SourceHut. It's an entirely static webpage generated by + Codeberg e.V.. It's an entirely static webpage generated by {{ eleventy.generator }} and hosted with Caddy.