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 +