Update .gitea/workflows/ci.yml
fbird CI / build-and-test (push) Canceled after 0s

Signed-off-by: Javier Puig <javier.puig.diaz@gmail.com>
This commit is contained in:
jpd committed 2026-09-30 08:54:43 +01:00
1 parent fe29763fab
commit 857975d6ff
1 file changed
+20 -2
+20 -2
View File
@@ -1,15 +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: jobs:
build-and-test: build-and-test:
runs-on: docker runs-on: docker
steps: steps:
# 1. Check out your repository code into the runner
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
# 2. Verify that your core files exist and are structured correctly
- name: Verify Project Structure - name: Verify Project Structure
run: | run: |
echo "Checking repository files..."
ls -la
if [ ! -f "index.html" ]; then if [ ! -f "index.html" ]; then
echo "Error: index.html missing!" echo "Error: index.html missing!"
exit 1 exit 1
fi fi
echo "Project structure verified successfully." 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!"