This commit is contained in:
@@ -80,8 +80,9 @@ jobs:
|
||||
- name: Run tests
|
||||
run: .venv-ci/bin/python -m unittest discover -s tests -t . --verbose
|
||||
|
||||
# .venv and members.json are excluded, so the runtime and the stereo
|
||||
# pair's learned membership survive --delete untouched.
|
||||
# .venv, members.json and .env are excluded, so the runtime, the
|
||||
# stereo pair's learned membership, and Spotify's credentials survive
|
||||
# --delete untouched.
|
||||
- name: Deploy to production
|
||||
run: |
|
||||
rsync -azc --no-times --delete \
|
||||
@@ -90,6 +91,7 @@ jobs:
|
||||
--exclude "/.venv/" \
|
||||
--exclude "/.venv-ci/" \
|
||||
--exclude "/members.json" \
|
||||
--exclude "/.env" \
|
||||
--exclude "__pycache__/" \
|
||||
./ "$DEPLOY_PATH/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user