GitHub Actions Demo #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |