diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8958f83..ae20711 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,9 @@ name: Fly Deploy -on: - push: - branches: - - main +on: [push] + jobs: deploy_staging: # Always deploy to staging + if: github.repository == 'OCNS/simselect' && github.ref == 'refs/heads/main' name: Deploy app to simselect-dev runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de1251f..ae0d544 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,10 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + with: + python-version: '3.11' + cache: 'pip' + cache-dependency-path: requirements.txt - name: Install dependencies run: python -m pip install -r requirements.txt -r requirements-dev.txt - name: Run pre-commit hooks diff --git a/src/project_browser.py b/src/project_browser.py index b1cc251..ba925e6 100644 --- a/src/project_browser.py +++ b/src/project_browser.py @@ -11,7 +11,7 @@ import data -__version__ = "0.2.0" +__version__ = "0.2.1" REPO_URL = "https://github.com/OCNS/simselect" DATA_FOLDER = "simtools"