Skip to content

Update github-actions-demo.yml #8

Update github-actions-demo.yml

Update github-actions-demo.yml #8

name: Github Actions Demo

Check failure on line 1 in .github/workflows/github-actions-demo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions-demo.yml

Invalid workflow file

`inputs` is not a valid event name
on:
push:
branches: [ main ]
paths-ignore: [.github/**]
pull_request:
branches: [ main ]
schedule:
- cron: '15 6 * * 0'
workflow_dispatch:
inputs:
environment:
description: 'Environment to deploy to'
type: environment
required: true
run: echo "The time
jobs:
Build:
runs-on: ubuntu-latest
steps:
- run: |
echo "🎉 The job was triggered by event: ${{ github.event_name }}"
echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ."
- uses: actions/[email protected]
- name: List files in the repository
run: |
echo "The repository ${{ github.repository }} contains the following files:"
tree