From 83f4251b697a8d32753bce5b6f9fe2bc769253e8 Mon Sep 17 00:00:00 2001 From: Dustin Brunner <75931548+dustinbrun@users.noreply.github.com> Date: Tue, 23 Dec 2025 17:14:16 +0100 Subject: [PATCH] added hello world action --- .gitea/workflows/hello.yml | 20 ++++++++++++++++++++ hello.sh | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 .gitea/workflows/hello.yml create mode 100644 hello.sh diff --git a/.gitea/workflows/hello.yml b/.gitea/workflows/hello.yml new file mode 100644 index 0000000..b65331c --- /dev/null +++ b/.gitea/workflows/hello.yml @@ -0,0 +1,20 @@ +name: Hello Gitea Actions + +on: + push: + branches: + - main + +jobs: + hello: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Make script executable + run: chmod +x hello.sh + + - name: Run hello script + run: ./hello.sh diff --git a/hello.sh b/hello.sh new file mode 100644 index 0000000..07bbb51 --- /dev/null +++ b/hello.sh @@ -0,0 +1,4 @@ +#!/bin/sh +echo "Hello from Gitea Actions!" +echo "Repository: $GITEA_REPOSITORY" +echo "Actor: $GITEA_ACTOR" -- 2.49.1