Added: Raj-Bhattacharyya Profile #27
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
name: Update README | |
on: | |
pull_request: | |
types: [closed] | |
paths: | |
- 'content/profiles/**' | |
- 'static/images/**' | |
jobs: | |
build: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install pip | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Install dependencies | |
run: python -m pip install Pillow | |
- name: Update README | |
run: | | |
python .github/scripts/update_readme.py | |
git add README.md static/images content | |
git config --local user.email "bongdev2021@gmail.com" | |
git config --local user.name "bongdev" | |
git commit -m "Update README.md" | |
git push |