File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 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 github-actions@github.com
33+ git add workbook/
34+ git commit -m "Auto-generate workbook for branch ${{ github.ref_name }}" || echo "No changes to commit"
35+ git push
You can’t perform that action at this time.
0 commit comments