From 6a9d5b3008621d87d5b348eec1a3a3ff1a960b4e Mon Sep 17 00:00:00 2001 From: tugba Date: Thu, 16 Apr 2026 11:39:00 +0000 Subject: [PATCH] =?UTF-8?q?.github/workflows/sysadmin-basics.yml=20hinzuge?= =?UTF-8?q?f=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sysadmin-basics.yml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/sysadmin-basics.yml diff --git a/.github/workflows/sysadmin-basics.yml b/.github/workflows/sysadmin-basics.yml new file mode 100644 index 0000000..52d9506 --- /dev/null +++ b/.github/workflows/sysadmin-basics.yml @@ -0,0 +1,31 @@ +name: Sysadmin Basics Workflow + +on: + push: + branches: [ "main" ] + workflow_dispatch: + +jobs: + system-check: + runs-on: ubuntu-latest + + steps: + - name: Code auschecken + uses: actions/checkout@v4 + + - name: Systeminfos anzeigen + run: | + echo "Aktuelles Datum: $(date)" + echo "Kernel Info: $(uname -a)" + echo "Aktuelles Verzeichnis: $(pwd)" + ls -la + + - name: Report-Ordner erstellen + run: mkdir -p reports + + - name: System-Report schreiben + run: | + echo "Datum: $(date)" > reports/system-report.txt + echo "Runner: $RUNNER_NAME" >> reports/system-report.txt + echo "Verzeichnisinhalt:" >> reports/system-report.txt + ls -la >> reports/system-report.txt \ No newline at end of file