Skip to content

Commit 66ade50

Browse files
authored
Python-Style-Guide-Get-Original
주기적으로 새로운 번역을 가져옵니다.
1 parent df96dad commit 66ade50

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Python-Style-Guide-Get-Original
2+
3+
on:
4+
schedule:
5+
# 매주 금요일 18:00에 실행합니다. (UTC +09:00)
6+
- cron: '0 9 * * 5'
7+
issues:
8+
# 이슈에 새로운 항목이 생기거나 수정사항이 있으면 실행합니다.
9+
types: [opened, edited]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.6
20+
- name: Install Dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
if [ -f ./script/update_original_requirements.txt ]; then pip install -r ./script/update_original_requirements.txt; fi
24+
- name: Crawler
25+
run: |
26+
python ./script/update_original.py
27+
env:
28+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)