From 9e103e8736e47f251fd73c30e4b3f5c357e03056 Mon Sep 17 00:00:00 2001 From: Javier Puig Date: Wed, 30 Sep 2026 08:47:53 +0100 Subject: [PATCH] Add .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..d361c84 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,33 @@ +name: fbird CI + +# Defines when the workflow runs: on every push and pull request to the main branch +on: + push: + branches: [ "main", "master" ] + pull_request: + branches: [ "main", "master" ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + # 1. Check out your repository code into the runner + - name: Checkout Code + uses: actions/checkout@v4 + + # 2. Verify that your core files exist and are structured correctly + - name: Verify Project Structure + run: | + echo "Checking repository files..." + ls -la + if [ ! -f "index.html" ]; then + echo "Error: index.html missing!" + exit 1 + fi + echo "Project structure verified successfully." + + # 3. Optional: HTML/Syntax validation check (using a lightweight linter or checker) + - name: Basic Asset Check + run: | + echo "Assets look good. Ready for deployment!" \ No newline at end of file