Spaces:
Running
Running
Juneyy
commited on
Commit
•
6884bb5
1
Parent(s):
62c0c14
Create cml.yml
Browse files- .github/workflows/cml.yml +24 -0
.github/workflows/cml.yml
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: refresh map
|
2 |
+
|
3 |
+
on: [push]
|
4 |
+
|
5 |
+
jobs:
|
6 |
+
getdataandrefreshmap:
|
7 |
+
runs-on: ubuntu-latest
|
8 |
+
steps:
|
9 |
+
- name: checkout repo content
|
10 |
+
uses: actions/checkout@v3 # checkout the repository content to github runner.
|
11 |
+
- name: setup python
|
12 |
+
uses: actions/setup-python@v4
|
13 |
+
with:
|
14 |
+
python-version: 3.8 #install the python needed
|
15 |
+
|
16 |
+
- name: execute py script
|
17 |
+
run: |
|
18 |
+
git pull
|
19 |
+
python load_model.py
|
20 |
+
git config user.name github-actions
|
21 |
+
git config user.email github-actions@github.com
|
22 |
+
git add .
|
23 |
+
git commit -m "testing"
|
24 |
+
git push
|