From 1a1b72d8b501a98756e55ca87fc659e6c514f9df Mon Sep 17 00:00:00 2001 From: dev-ugo Date: Mon, 13 Apr 2026 15:29:24 +0200 Subject: [PATCH] feat: initial links page with CI/CD workflow --- .gitea/workflows/deploy.yml | 25 +++++++++++++++++++++++++ index.html | 23 +++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .gitea/workflows/deploy.yml create mode 100644 index.html diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..30564aa --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Deploy to VPS + uses: appleboy/ssh-action@v1.0.0 + with: + host: ${{ secrets.VPS_HOST }} + username: ${{ secrets.VPS_USER }} + key: ${{ secrets.VPS_SSH_KEY }} + script: | + mkdir -p ~/services/links + cd ~/services/links + git clone https://git.ugo-preiswerk.site/${{ gitea.repository }} . 2>/dev/null || git pull + docker compose -f ~/services/docker-compose.yml restart links 2>/dev/null || true diff --git a/index.html b/index.html new file mode 100644 index 0000000..15c9372 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ + + + + + + Ugo Preiswerk + + + +

Ugo Preiswerk

+

Dev junior ยท DevOps learner

+ Portfolio + Blog + Gitea + Uptime + +