This commit is contained in:
commit
a296d98865
2 changed files with 21 additions and 0 deletions
13
.gitea/workflows/ci.yaml
Normal file
13
.gitea/workflows/ci.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
name: Pipeline de prueba
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
verificacion:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Ejecutar script de prueba
|
||||||
|
run: bash test.sh
|
||||||
8
test.sh
Normal file
8
test.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo "=== Inicio del script de prueba ==="
|
||||||
|
echo "Pipeline ejecutado correctamente"
|
||||||
|
echo "Fecha: $(date)"
|
||||||
|
echo "Directorio actual: $(pwd)"
|
||||||
|
echo "Archivos en el repositorio:"
|
||||||
|
ls -la
|
||||||
|
echo "=== Fin del script ==="
|
||||||
Loading…
Reference in a new issue