forked from ExamProCo/Github-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17e90e1
commit 0fa4af3
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Hello World on Events Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
create | ||
delete | ||
|
||
job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: preparation | ||
name: Preparation | ||
run: echo "Preparation for the greeting." | ||
- id: greeting | ||
name: Greeting | ||
run: echo "Hello $USER!" | ||
- id: completion | ||
name: Completion | ||
run: echo "Have a nice day!" |
2 changes: 1 addition & 1 deletion
2
.github/workflows/hello-world.yml → ...ub/workflows/hello-world-periodically.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Hello World Workflow | ||
name: Hello World Periodically Workflow | ||
|
||
on: | ||
schedule: | ||
|