Skip to content

Commit

Permalink
chore(deploy): pip freeze to a static file
Browse files Browse the repository at this point in the history
similar to having the SHA, will help confirm changes and debug
  • Loading branch information
thekaveman committed Sep 19, 2023
1 parent 60b6d0b commit 6ce30cc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version-file: .github/workflows/.python-version
cache: pip
cache-dependency-path: "**/pyproject.toml"

- name: Write python packages to file
run: |
python -m venv .venv
source .venv/bin/activate
pip install -e .
pip freeze >> benefits/static/requirements.txt
- name: Write commit SHA to file
run: echo "${{ github.sha }}" >> benefits/static/sha.txt

Expand Down

0 comments on commit 6ce30cc

Please sign in to comment.