Skip to content

Commit ccce3a8

Browse files
committed
testing circleci
1 parent 77bf59d commit ccce3a8

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.circleci/config.yml

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

0 commit comments

Comments
 (0)