File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ name: MyFirstCICDPipeline
66# events but only for the master branch
77on :
88 push :
9- branches : [ master ]
9+ branches : [master]
1010 pull_request :
11- branches : [ master ]
11+ branches : [master]
1212
1313# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414jobs :
1919
2020 # Steps represent a sequence of tasks that will be executed as part of the job
2121 steps :
22- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23- - uses : actions/checkout@v2
22+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+ - uses : actions/checkout@v2
2424
25- # Runs a single command using the runners shell
26- - name : Run a one-line script
27- run : echo Hello, world!
28-
29- # Runs a set of commands using the runners shell
30- - name : Run a multi-line script
31- run : |
32- echo Add other actions to build,
33- echo test, and deploy your project.
25+ # Runs a single command using the runners shell
26+ - name : Run our custom script
27+ run : ./custom.sh
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ echo " Hello Github CI/CD!"
You can’t perform that action at this time.
0 commit comments