Skip to content

[Silver V] Title: 날짜 계산, Time: 44 ms, Memory: 31256 KB -BaekjoonHub #436

[Silver V] Title: 날짜 계산, Time: 44 ms, Memory: 31256 KB -BaekjoonHub

[Silver V] Title: 날짜 계산, Time: 44 ms, Memory: 31256 KB -BaekjoonHub #436

# // .github/workflows/update-readme.yml
name: Update readme
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Run update.py
run: |
python update.py
- name: Commit changes
run: |
git config --global user.name "Ori-Gui"
git config --global user.email "dign552@naver.com"
git add README.md
git diff --cached --quiet || git commit -m "auto update README.md"
- name: Push changes
run: |
git push