From 7e811a8680dd7cb38d1d9be83169d7a11a852865 Mon Sep 17 00:00:00 2001 From: lourenco <> Date: Sat, 13 Sep 2025 21:43:53 +0200 Subject: [PATCH] added workflow --- .gitea/workflows/blog-deploy.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/blog-deploy.yaml diff --git a/.gitea/workflows/blog-deploy.yaml b/.gitea/workflows/blog-deploy.yaml new file mode 100644 index 0000000..48d9e61 --- /dev/null +++ b/.gitea/workflows/blog-deploy.yaml @@ -0,0 +1,24 @@ +name: Hugo deploy + +on: + push: + branches: + - main + workflow_dispatch: + +defaults: + run: + working-directory: /var/lib/hugo/blog + +jobs: + retrieve-and-execute: + runs-on: self-hosted + + steps: + # Checkout the repository + - name: Checkout Repository + run: git pull https://git.assilvestrar.club/lourenco/assilvestrar-blog.git master + + # Execute your command + - name: Build hugo + run: hugo build