Skip to content

Commit f3ced0f

Browse files
update yaml
1 parent 985193d commit f3ced0f

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
1-
name: CI
2-
3-
on: [push]
1+
version: 1.0
42
on:
5-
pull_request:
3+
push:
64
branches:
7-
- master
5+
- master
86

97
jobs:
108
build:
11-
12-
runs-on: ubuntu-latest
13-
149
steps:
15-
- uses: actions/checkout@master
16-
- name: Run a one-line script
17-
run: echo Hello, world!
18-
- name: Run a multi-line script
19-
run: |
20-
echo Add other actions to build,
21-
echo test, and deploy your project.
10+
- name: 'run pipeline'
11+
uses: ./
12+
with:
13+
PIPELINE_NAME: 'codefresh-pipeline'
14+
TRIGGER_NAME: 'codefresh-trigger'
15+
CF_API_KEY: ${{ secrets.GITHUB_TOKEN }}
16+
id: run-pipeline

0 commit comments

Comments
 (0)