Skip to content

Commit

Permalink
Try to fix builds (continued) (#34)
Browse files Browse the repository at this point in the history
* add workaround to build_and_publish

* add an echo to try to trigger build

* need auto-update b/c otherwise the data are not downloaded to the newly specified directories.

* rename build workflow

* add to build_and_deploy too....
  • Loading branch information
keflavich authored May 31, 2024
1 parent a1fd50c commit 42586c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Github Pages
name: Pull Request basic build checks

on:
issues:
Expand All @@ -24,7 +24,8 @@ jobs:

- name: Install requirements
run: |
echo "datapath='${GITHUB_WORKSPACE}/.casa/'" > $GITHUB_WORKSPACE/config.py
echo $GITHUB_WORKSPACE
echo "datapath='${GITHUB_WORKSPACE}/.casa/'; measures_path=datapath; measures_auto_update=True; data_auto_update=True" > $GITHUB_WORKSPACE/config.py
export CASASITECONFIG=$GITHUB_WORKSPACE/config.py
pip install casadata # force this first?
pip install -r requirements.txt
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build_and_deploy_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
cache: 'pip'

- name: Install requirements
run: pip install -r requirements.txt
run: |
echo "datapath='${GITHUB_WORKSPACE}/.casa/'; measures_path=datapath; measures_auto_update=True; data_auto_update=True" > $GITHUB_WORKSPACE/config.py
export CASASITECONFIG=$GITHUB_WORKSPACE/config.py
pip install casadata # force this first?
pip install -r requirements.txt
- name: Export notebooks
run: |
Expand Down

0 comments on commit 42586c6

Please sign in to comment.