From 6eee886c3f3cfa4c74e12b60e2c973258b27e896 Mon Sep 17 00:00:00 2001 From: ddingmin Date: Fri, 3 Nov 2023 18:38:43 +0900 Subject: [PATCH] =?UTF-8?q?add:=20TIL=20readme=20=EC=9E=90=EB=8F=99=20?= =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20GitHub=20Actions=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_readme_til.yaml | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/update_readme_til.yaml diff --git a/.github/workflows/update_readme_til.yaml b/.github/workflows/update_readme_til.yaml new file mode 100644 index 0000000..d93ec88 --- /dev/null +++ b/.github/workflows/update_readme_til.yaml @@ -0,0 +1,34 @@ +name: Python application + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + - name: Run Update Python Script + run: | + python script/count_files.py + - name: Run Update README.md File + run: | + git add . + git diff + git config --local user.email "ddingminyt@gmail.com" + git config --local user.name "ddingmin" + git commit -m ":smile Add Today I Learned" + git push \ No newline at end of file