Skip to content

Commit

Permalink
Updated Action
Browse files Browse the repository at this point in the history
  • Loading branch information
alouradou authored Feb 17, 2024
1 parent a065476 commit a45f6d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Install dependencies
run: |
Expand All @@ -44,11 +44,14 @@ jobs:
port: ${{ secrets.SERVER_PORT }}
script: |
cd serenadoit
python -m venv serenadoit .
source serenadoit/bin/activate
pip install -r requirements.txt
pip install gunicorn
git stash
git pull origin master
git stash pop
source serenadoit/bin/activate
pip install gunicorn
rm -rf ~/node/static/styles/ ~/node/static/scripts/ ~/node/static/images/
cp -r ./static ~/node/
gunicorn -w 4 -b 0.0.0.0:10410 run_prod:app --error-logfile logs/error.log --access-logfile logs/access.log -D
Expand Down

0 comments on commit a45f6d3

Please sign in to comment.