Aqsa Kausar
commited on
Update scraping.yml
Browse filesadd github push for the job postings new folder
.github/workflows/scraping.yml
CHANGED
|
@@ -31,4 +31,13 @@ jobs:
|
|
| 31 |
python linkedin_scrapping.py
|
| 32 |
- name: List job-postings folder
|
| 33 |
run: ls -R job-postings || echo "job-postings folder not found"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
|
|
|
| 31 |
python linkedin_scrapping.py
|
| 32 |
- name: List job-postings folder
|
| 33 |
run: ls -R job-postings || echo "job-postings folder not found"
|
| 34 |
+
- name: Commit and Push Changes
|
| 35 |
+
run: |
|
| 36 |
+
git config --global user.name "github-actions[bot]"
|
| 37 |
+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
| 38 |
+
git add job-postings
|
| 39 |
+
git commit -m "Add job postings generated by script"
|
| 40 |
+
git push
|
| 41 |
+
env:
|
| 42 |
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
| 43 |
|