Skip to content

Commit

Permalink
Merge pull request #973 from hngprojects/DrInTech
Browse files Browse the repository at this point in the history
Update regression workflow
  • Loading branch information
DrInTech22 authored Aug 24, 2024
2 parents 44defcd + 1aa2f99 commit 9c44cfd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,18 @@ jobs:
password: ${{ secrets.PASSWORD }}
source: "result.json"
target: "/home/${{ secrets.USERNAME }}/hng_boilerplate_python_fastapi_web/staging"

- name: Deploy to Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: |
cd hng_boilerplate_python_fastapi_web/staging
git add .
git stash
git pull origin staging
python3 update_api_status.py

0 comments on commit 9c44cfd

Please sign in to comment.