diff --git a/.github/dependabot.yml b/.github/dependabot.yml old mode 100644 new mode 100755 diff --git a/.github/reto_1/hola_mundo.py b/.github/reto_1/hola_mundo.py new file mode 100755 index 0000000..3df37c5 --- /dev/null +++ b/.github/reto_1/hola_mundo.py @@ -0,0 +1,5 @@ +def hello_world(): + print("Hello Alex Ferreira") + +if __name__ == '__main__': + hello_world() diff --git a/.github/script/STEP b/.github/script/STEP old mode 100644 new mode 100755 index 573541a..d00491f --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -0 +1 diff --git a/.github/workflows/ hola-mundo.yml b/.github/workflows/ hola-mundo.yml new file mode 100644 index 0000000..d24564d --- /dev/null +++ b/.github/workflows/ hola-mundo.yml @@ -0,0 +1,8 @@ +name: hola-mundo +on: [push] +jobs: + hola-mundo: + runs-on: ubuntu-latest + steps: + - name: Hola mundo + run: python reto_1/hola_mundo.py diff --git a/.github/workflows/0-inicio.yml b/.github/workflows/0-inicio.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/1-crea-primer-workflow.yml b/.github/workflows/1-crea-primer-workflow.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/2-conoce-triggers.yml b/.github/workflows/2-conoce-triggers.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/3-aprende-expresiones.yml b/.github/workflows/3-aprende-expresiones.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/4-usa-contextos.yml b/.github/workflows/4-usa-contextos.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/5-uso-variables.yml b/.github/workflows/5-uso-variables.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/hola-mundo.yml b/.github/workflows/hola-mundo.yml new file mode 100755 index 0000000..f499ec6 --- /dev/null +++ b/.github/workflows/hola-mundo.yml @@ -0,0 +1,12 @@ +name: hola-mundo +on: + push: + branches: [ "aprendiendo-github-actions" ] +jobs: + hola-mundo: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Hola mundo + run: python .github/reto_1/hola_mundo.py \ No newline at end of file diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index c2530f3..03f43cc --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ _Aprende los conceptos básicos para crear tu primer flujo de CI/CD para tus pro Do not use quotes on the
tag attributes. --> -
+

Bienvenido

¡Bienvenido al Curso Básico de GitHub Actions de Platzi! en este curso aprenderás a realizar flujos de Integración y Despliegue Continúo (CI/CD) para tus proyectos personales, así como automatizar cualquier proceso que que te ayude a impulsar tu flujo de trabajo :rocket:. @@ -52,7 +52,7 @@ _Aprende los conceptos básicos para crear tu primer flujo de CI/CD para tus pro TBD-step-1-notes. --> -
+

Paso 1: Crea tu primer workflow file

_¡Bienvenido al "Curso Básico de GitHub Actions"! :wave:_