Skip to content

Commit a91847e

Browse files
committed
workbook 자동화
1 parent b8945a4 commit a91847e

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/update.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Python application
5+
6+
on:
7+
push:
8+
branches:
9+
- '**'
10+
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python 3.9
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.9
21+
- name: install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install requests
25+
- name: run code
26+
run: |
27+
cd workbook
28+
python actions.py
29+
- name: Commit and Push Changes
30+
run: |
31+
git config user.name github-actions
32+
git config user.email [email protected]
33+
git add workbook/
34+
git commit -m "Auto-generate workbook for branch ${{ github.ref_name }}" || echo "No changes to commit"
35+
git push

0 commit comments

Comments
 (0)