Skip to content

Commit

Permalink
added workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliao authored Feb 26, 2023
1 parent 7e8c865 commit d740495
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on: [push]
on: [push, workflow_dispatch]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}. The github.actor is ${{ github.actor }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner. The github.actor is ${{ github.actor }}. "
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner. "
- run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
Expand Down

0 comments on commit d740495

Please sign in to comment.