Skip to content

Commit 0bb1f99

Browse files
committed
commit workflow
1 parent c0dbcd2 commit 0bb1f99

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/first-workflow.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Manual Trigger Workflow
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v2
13+
14+
- name: Run a simple script
15+
run: echo "This workflow was manually triggered!"
16+
17+
job1:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Step 1
22+
run: echo "Step 1 complete!"
23+
24+
- name: Step 2
25+
run: echo "Step 2 complete!"
26+
27+
job2:
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
- name: Cowsays Action
32+
uses: peter-evans/cowsay@v1
33+
with:
34+
text: "Ready for prod–ship it!"
35+
color: magenta

0 commit comments

Comments
 (0)