Skip to content

Commit

Permalink
testing circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamaia committed Jun 14, 2021
1 parent 77bf59d commit 8b0727f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 2.1

workflows:
main:
jobs:
- deploy-on-staging:
filters:
branches:
only:
- website-tutorial-ci
- scanapi:
requires:
- deploy-on-staging
filters:
branches:
only:
- website-tutorial-ci

jobs:
deploy-on-staging:
docker:
- image: cimg/node:14.10.1
steps:
- run: echo "Your staging deploy job here!"
scanapi:
docker:
- image: camilamaia/scanapi:2.4.0
environment:
USER: $USER
PASSWORD: $PASSWORD
steps:
- checkout
- run:
name: Run ScanAPI
command: |
scanapi run scanapi/scanapi.yaml -c scanapi/scanapi.conf -o scanapi/report.html
- store_artifacts:
path: scanapi/report.html

0 comments on commit 8b0727f

Please sign in to comment.