-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 847 Bytes
/
Copy pathmain.yml
File metadata and controls
36 lines (31 loc) · 847 Bytes
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
name: Run Papermill Conversion
on:
schedule:
- cron: "20 2/12 * * *"
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: Set up Python 3.9.12
uses: actions/setup-python@v3
with:
python-version: "3.9.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
ipython kernel install --name "python3" --user
- name: run code
run: |
python papermillConvert.py
- name: push repo
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "run code from github actions"
git push