From 9de00974e9f6a79accb9e156dd861a55c2f41ce0 Mon Sep 17 00:00:00 2001 From: hcornet Date: Fri, 25 Apr 2025 17:42:11 +0200 Subject: [PATCH] Add : workflow --- .gitea/workflows/ci-main.yml | 24 ++++++++++++++++++++++++ modules/antivirus.sh | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/ci-main.yml diff --git a/.gitea/workflows/ci-main.yml b/.gitea/workflows/ci-main.yml new file mode 100644 index 0000000..6745be9 --- /dev/null +++ b/.gitea/workflows/ci-main.yml @@ -0,0 +1,24 @@ +# +name: Deployment Verification + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + deploy-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Make the script files executable + run: chmod +x * -R + + - name: Run a script + run: sudo ./main.sh \ No newline at end of file diff --git a/modules/antivirus.sh b/modules/antivirus.sh index 2d0ee4c..fddbb98 100644 --- a/modules/antivirus.sh +++ b/modules/antivirus.sh @@ -111,7 +111,7 @@ EOF } # -log_message "SCRIPT" "antivirus.sh" +log_message "SCRIPT" "additional_hardening.sh" # Main execution for antivirus configure_clamav