Skip to content

[Gold III] Title: 내리막 길, Time: 468 ms, Memory: 42072 KB -BaekjoonHub #224

[Gold III] Title: 내리막 길, Time: 468 ms, Memory: 42072 KB -BaekjoonHub

[Gold III] Title: 내리막 길, Time: 468 ms, Memory: 42072 KB -BaekjoonHub #224

Workflow file for this run

name: Update readme # GitHub Actions 탭에서 확인할 수 있는 액션 이름
on: # jobs가 실행되어야 하는 상황 정의
push:
branches: [ "main" ] # main 브랜치에 push가 발생했을 때
pull_request:
jobs: # 실제 실행될 내용
build:
runs-on: ubuntu-latest # 빌드 환경
steps:
- uses: actions/checkout@v3 # checkout
- name: Set up Python 3.10
uses: actions/setup-python@v3 # setup-python
with:
python-version: "3.10" # 3.10버전 파이썬 사용
- name: Install dependencies # 1) 스크립트에 필요한 dependency 설치
run: |
python -m pip install --upgrade pip
pip install python-leetcode
- name: Run update.py # 2) update.py 실행
run: |
python update.py
- name: Commit changes # 3) 추가된 파일 commit
run: |
git config --global user.name 'dukbong' # 유저명
git config --global user.email 'gorae930301@gmail.com' # 유저 이메일
git add -A
git commit -am "auto update README.md" # 커밋 메시지
- name: Push changes # 4) 메인에 푸시
run: |
git push