Skip to content

Update github myprofile #121

Update github myprofile

Update github myprofile #121

name: Update github myprofile
on: 'page_build'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Reqs
run: |
sudo apt-get install python3-setuptools
- name: Run
run: |
cd ./github_myprofile_updater
python3 update.py
git init
git config --local user.name "${GITHUB_ACTOR}"
git config --local user.email "[email protected]"
export remote_repo="https://${GITHUB_ACTOR}:${{ secrets.GHRS_GITHUB_API_TOKEN }}@github.com/Chen-Yang-Liu/Chen-Yang-Liu.git"
git add README.md
git commit -m "update my description automatically"
git push "${remote_repo}" HEAD:main --force