File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Fly Deploy
2
- on :
3
- push :
4
- branches :
5
- - main
2
+ on : [push]
3
+
6
4
jobs :
7
5
deploy_staging : # Always deploy to staging
6
+ if : github.repository == 'OCNS/simselect' && github.ref == 'refs/heads/main'
8
7
name : Deploy app to simselect-dev
9
8
runs-on : ubuntu-latest
10
9
steps :
Original file line number Diff line number Diff line change 8
8
steps :
9
9
- uses : actions/checkout@v3
10
10
- uses : actions/setup-python@v4
11
+ with :
12
+ python-version : ' 3.11'
13
+ cache : ' pip'
14
+ cache-dependency-path : requirements.txt
11
15
- name : Install dependencies
12
16
run : python -m pip install -r requirements.txt -r requirements-dev.txt
13
17
- name : Run pre-commit hooks
Original file line number Diff line number Diff line change 11
11
import data
12
12
13
13
14
- __version__ = "0.2.0 "
14
+ __version__ = "0.2.1 "
15
15
16
16
REPO_URL = "https://github.com/OCNS/simselect"
17
17
DATA_FOLDER = "simtools"
You can’t perform that action at this time.
0 commit comments