Skip to content

Commit

Permalink
Merge pull request #899 from hngprojects/server/hot-fix
Browse files Browse the repository at this point in the history
chore: updated gitignore
  • Loading branch information
Sarahligbe authored Aug 15, 2024
2 parents d807d9d + 9be2897 commit f219ec6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cd.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dev Branch Deployment
name: Dev Deployment

on:
push:
Expand All @@ -22,9 +22,12 @@ jobs:
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: |
cd boilerplate-python/dev/
git pull origin dev
source .venv/bin/activate
cd hng_boilerplate_python_fastapi_web
# git add .
# git stash
# git checkout dev
# git pull origin dev
source venv-dev/bin/activate
pip install -r requirements.txt
alembic upgrade head
echo "${{ secrets.PASSWORD }}" | sudo -S systemctl restart python-bp-dev.service
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@ celerybeat.pid
*.sage.py

# Environments
.env
.env*
!.env.sample
.venv
.blog_env/

env/
venv/
venv*
*venv/
ENV/
env.bak/
Expand Down Expand Up @@ -167,5 +168,3 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

test_case1.py
8 changes: 0 additions & 8 deletions t

This file was deleted.

0 comments on commit f219ec6

Please sign in to comment.