From 38a7c9337c7a552c1003dfa4258a442ec38b17e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20M=C3=A5rdbrink?= Date: Wed, 3 Dec 2025 21:18:37 +0100 Subject: [PATCH] Add action --- .forgejo/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/deploy.yml diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..9104872 --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -0,0 +1,20 @@ + name: Build and Deploy + + on: + push: + branches: [main] + + jobs: + deploy: + runs-on: native + steps: + - uses: actions/checkout@v4 + + - name: Build Docker image + run: podman build -t + localhost/hugo-home:latest . + + - name: Restart container + run: systemctl --user restart + podman-hugo-home.service || true +