File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name : demo-test
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+ push :
7+ branches :
8+ - feat/github-actions**
9+
10+ jobs :
11+ demo-test :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Demo README's instructions
16+ run : |
17+ npm install -g serverless
18+ sls create --template-url "https://github.com/umihico/docker-selenium-lambda/tree/main" --path docker-selenium-lambda && cd $_
19+ sls deploy
20+ sls invoke --function demo |& tee /tmp/scraping-result.txt
21+ cat /tmp/scraping-result.txt | grep -q "This domain is for use in illustrative examples in documents"
22+ env :
23+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
24+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
25+ AWS_REGION : ${{ secrets.AWS_REGION }}
Original file line number Diff line number Diff line change 11# docker-selenium-lambda
22
3+ ![ badge] ( https://github.com/umihico/docker-selenium-lambda/actions/workflows/demo-test.yml/badge.svg )
34![ badge] ( https://github.com/umihico/docker-selenium-lambda/actions/workflows/auto-update.yml/badge.svg )
45
56This is minimum demo of headless chrome and selenium on container image on AWS Lambda
You can’t perform that action at this time.
0 commit comments