-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update main.py * [PanditBot] Updating Repos Data * Update PanditBOT.yml * [PanditBot] Updating Repos Data 2022-11-02_19-38-01
- Loading branch information
1 parent
b7528e2
commit 535ab21
Showing
3 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,13 +24,16 @@ jobs: | |
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9.5 #install the python needed | ||
- name: Library installation | ||
run: | | ||
python -m pip install -U pip | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
- name: Updating JSON | ||
run: python main.py | ||
- name: Git push | ||
run: | | ||
python -m pip install --upgrade pip | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
python main.py | ||
git config user.name PtPrashantTripathi | ||
git config user.email [email protected] | ||
git add ./json/repos.json | ||
git commit -m "[PanditBot] Updating Repos Data" | ||
git commit -m "[PanditBot] Updating Repos Data $(date +%Y-%m-%d_%H-%M-%S)" | ||
git push --quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters