Initial commit

This commit is contained in:
jfeng committed 2026-11-09 13:48:37 +00:00
commit 4ddea7cd3d
3 files changed
+87

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
name: Build Automatico
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Baixar codigo
uses: actions/checkout@v4
- name: Verificar ambiente
run: |
echo "Gitea Actions funcionando!"
echo "Repositorio: ${{ github.repository }}"
echo "Branch: ${{ github.ref_name }}"
- name: Verificar projeto
run: |
if [ -f package.json ]; then
echo "Projeto Node.js detectado"
elif [ -f composer.json ]; then
echo "Projeto PHP detectado"
elif [ -f requirements.txt ]; then
echo "Projeto Python detectado"
elif [ -f Dockerfile ]; then
echo "Projeto Docker detectado"
else
echo "Projeto sem build configurado"
fi
- name: Finalizar
run: echo "Verificacao concluida!"