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"