-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.2 KB
/
programmers-auto-update.yml
File metadata and controls
45 lines (42 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: programmers auto update
on:
push:
paths:
- '프로그래머스/**'
branches: [ main ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Run programmers-auto-update.py
run: |
python utils/programmers-auto-update.py
- name: Run Update programmers-solving-count.md File
run: |
git add .
git diff
git config --local user.email "piwhyjey@gmail.com"
git config --local user.name "Lab00700-Auto-Update"
git commit -m "Automatically Update programmers-solving-count.md file"
git push
- name: Run readme-auto-update.py
run: |
python utils/readme-auto-update.py
- name: Run Update README.md File
run: |
git add .
git diff
git config --local user.email "piwhyjey@gmail.com"
git config --local user.name "Lab00700-Auto-Update"
git commit -m "Automatically Update README.md file"
git push