Skip to content

Commit 6b3146c

Browse files
authored
Merge pull request #59 from OCNS/fix_push_to_production
Fix push to production
2 parents 01c13f3 + 8f02667 commit 6b3146c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/deploy.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Fly Deploy
2-
on:
3-
push:
4-
branches:
5-
- main
2+
on: [push]
3+
64
jobs:
75
deploy_staging: # Always deploy to staging
6+
if: github.repository == 'OCNS/simselect' && github.ref == 'refs/heads/main'
87
name: Deploy app to simselect-dev
98
runs-on: ubuntu-latest
109
steps:

.github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
steps:
99
- uses: actions/checkout@v3
1010
- uses: actions/setup-python@v4
11+
with:
12+
python-version: '3.11'
13+
cache: 'pip'
14+
cache-dependency-path: requirements.txt
1115
- name: Install dependencies
1216
run: python -m pip install -r requirements.txt -r requirements-dev.txt
1317
- name: Run pre-commit hooks

src/project_browser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import data
1212

1313

14-
__version__ = "0.2.0"
14+
__version__ = "0.2.1"
1515

1616
REPO_URL = "https://github.com/OCNS/simselect"
1717
DATA_FOLDER = "simtools"

0 commit comments

Comments
 (0)