Skip to content

Commit

Permalink
Update README.md with github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylli authored Jan 28, 2024
1 parent 3880a9c commit 95adf50
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,24 @@ The function does 4 things
https://chingu-soloproject-evaluation-app.vercel.app/
https://github.com/cherylli/chingu-soloproject-evaluation-app
4. Returns the scrape results (in JSON)


Github workflow to initiate scraping when the `soloproject-evalution` repo is updated
```
on:
push
jobs:
trigger-firebase-functions:
runs-on: ubuntu-latest
steps:
- name: Trigger Firebase Functions
id: getRequest
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.FUNCTION_URL }}
method: 'GET'
timeout: 50000
- name: Show Response
run: |
echo ${{ steps.getRequest.outputs.response }}
```

0 comments on commit 95adf50

Please sign in to comment.