Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DEV-Yangkong committed Jun 6, 2023
1 parent a92b613 commit d8b1cd9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Auto Readme Generator # ์›Œํฌํ”Œ๋กœ์šฐ ์ด๋ฆ„ ์ง€์ •

on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9.5
uses: actions/setup-python@v1
with:
python-version: "3.9"
architecture: "x64"
- name: Install dependencies
run: | # ์˜์กด์„ฑ ์„ค์น˜
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Auto Readme Generator
run: |
python "generator.py" # ์‹คํ–‰ ํŒŒ์ด์ฌ ์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ
- name: Commits
run: |
git config --local user.email "dev.yangkong@gmail.com" # ์ปค๋ฐ‹ํ•œ ์‚ฌ๋žŒ ์ด๋ฉ”์ผ
git config --local user.name "auto_readme_generator" # ์ปค๋ฐ‹ํ•œ ์‚ฌ๋žŒ ์ด๋ฆ„
git add README.md # ์ƒ์„ฑํ•œ README ํŒŒ์ผ์„ ์Šคํ…Œ์ด์ง•
git commit -m "auto - update readme file" # ์ปค๋ฐ‹ ๋ฉ”์„ธ์ง€
- name: Push
uses: ad-m/github-push-action@master
with:
branch: "master"
github_token: $

0 comments on commit d8b1cd9

Please sign in to comment.