Skip to content

Commit

Permalink
Use runner environment variable to specify paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Baschdl committed Jan 30, 2024
1 parent 9eac546 commit 9116deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push_to_overleaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
run: git clone ${{ secrets.OVERLEAF_GIT_CLONE_URL }} overleaf/
- name: Install dependencies
run: |
cd ~/labproject/
cd ${{ github.workspace }}/labproject/
python3 -m pip install --upgrade pip
pip install -e ".[docs]"
- name: Run experiments and generate plots
run: |
cd ~/labproject/
cd ${{ github.workspace }}/labproject/
python3 labproject/run.py
cd ..
cp -r labproject/labproject/plots/* overleaf/figures/
Expand Down

0 comments on commit 9116deb

Please sign in to comment.