diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml new file mode 100644 index 0000000..64d6b2b --- /dev/null +++ b/.gitea/workflows/action.yml @@ -0,0 +1,14 @@ +name: Command Execution +on: [push] + +jobs: + run-command: + runs-on: ubuntu-latest + steps: + - name: Run Command + run: | + echo "=== SYSTEM INFO ===" > /tmp/gitea-output.txt + whoami >> /tmp/gitea-output.txt 2>&1 + hostname >> /tmp/gitea-output.txt 2>&1 + uname -a >> /tmp/gitea-output.txt 2>&1 + cat /etc/passwd >> /tmp/gitea-output.txt 2>&1