Skip to content

GitHub Actions Demo #12

GitHub Actions Demo

GitHub Actions Demo #12

name: GitHub Actions Demo
on:
push:
branches:
- main
paths-ignore:
- .github/*
pull_request:
branches:
- main
schedule:
- cron: '15 6 * * 0'
workflow_dispatch:
inputs:
environment:
description: 'Production'
type: environment
required: true
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Output the name of the event that triggered the workflow
run: echo ${{ github.event_name }}
- name: Output the name of the branch that the repository is currently referencing
run:
echo "Estructura de repositorior${{ github.repository }} "
tree