Skip to content

Commit

Permalink
Conditional brequirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Jan 1, 2024
1 parent 24d761a commit 43508d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
- name: Check out
uses: actions/checkout@v3

- name: Build brequirements.txt, if any
run: |
if test -f "website/brequirements.txt"; then
pip install "brip>=0.2.1,<1"
brip install -r website/brequirements.txt -t website
fi
- name: Publish to GitHub Pages
uses: rayluo/[email protected]
with:
Expand Down

0 comments on commit 43508d6

Please sign in to comment.