Skip to content

Commit 8b0727f

Browse files
committed
testing circleci
1 parent 77bf59d commit 8b0727f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.circleci/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 2.1
2+
3+
workflows:
4+
main:
5+
jobs:
6+
- deploy-on-staging:
7+
filters:
8+
branches:
9+
only:
10+
- website-tutorial-ci
11+
- scanapi:
12+
requires:
13+
- deploy-on-staging
14+
filters:
15+
branches:
16+
only:
17+
- website-tutorial-ci
18+
19+
jobs:
20+
deploy-on-staging:
21+
docker:
22+
- image: cimg/node:14.10.1
23+
steps:
24+
- run: echo "Your staging deploy job here!"
25+
scanapi:
26+
docker:
27+
- image: camilamaia/scanapi:2.4.0
28+
environment:
29+
USER: $USER
30+
PASSWORD: $PASSWORD
31+
steps:
32+
- checkout
33+
- run:
34+
name: Run ScanAPI
35+
command: |
36+
scanapi run scanapi/scanapi.yaml -c scanapi/scanapi.conf -o scanapi/report.html
37+
- store_artifacts:
38+
path: scanapi/report.html

0 commit comments

Comments
 (0)