Merge pull request #897 from JoshuaOloton/fix/help-center #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dev Branch Deployment | |
on: | |
push: | |
branches: [dev] | |
paths-ignore: | |
- "README.md" | |
- ".github/workflows/**" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use SSH Action | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
script: | | |
cd boilerplate-python/dev/ | |
git pull origin dev | |
source .venv/bin/activate | |
pip install -r requirements.txt | |
alembic upgrade head | |