added hello world action #1

Merged
dbrun merged 1 commits from actions into main 2025-12-23 17:14:42 +01:00
2 changed files with 24 additions and 0 deletions

View File

@@ -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

4
hello.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
echo "Hello from Gitea Actions!"
echo "Repository: $GITEA_REPOSITORY"
echo "Actor: $GITEA_ACTOR"