Skip to content

Commit

Permalink
Fix command to activate venv (#261)
Browse files Browse the repository at this point in the history
* source venv in deploy workflows

* fix venv command

* rename workflow step
  • Loading branch information
Dave Berenbaum authored Sep 27, 2023
1 parent ecd916e commit 628e6a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example-get-started-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
cd example-get-started/build/example-get-started
source .venv/bin/activate
. .venv/bin/activate
# add remote
git remote add origin https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/iterative/example-get-started.git
# close open PRs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-get-started-experiments-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
pip install virtualenv
cd example-get-started-experiments
./generate.sh
- name: Generate repo
- name: Deploy repo
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
cd example-get-started-experiments/build/example-get-started-experiments
source .venv/bin/activate
. .venv/bin/activate
# add remote
git remote add origin https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/iterative/example-get-started-experiments.git
# drop existing refs
Expand Down

0 comments on commit 628e6a2

Please sign in to comment.