Skip to content

Commit

Permalink
Update deploy-flask-api.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroslavKSE authored Oct 26, 2023
1 parent 9071227 commit 3024d03
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy-flask-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
-name: Deploy Flask app
uses: appleboy/[email protected]
with:
host : ${{secrets.SSH_HOST}}
key: ${{secrets.SSH_KEY}}
username: ${{secrets.SSH_USERNAME}}
- name: Deploy Flask app
uses: appleboy/[email protected]
with:
host : ${{secrets.SSH_HOST}}
key: ${{secrets.SSH_KEY}}
username: ${{secrets.SSH_USERNAME}}

script:
cd Tests
git clone https://github.com/YaroslavKSE/Tests.git
flask --app api run --host=0.0.0.0 --port=80
echo "Deployment to Digital ocean was successfull"
script:
cd Tests
git clone https://github.com/YaroslavKSE/Tests.git
flask --app api run --host=0.0.0.0 --port=80
echo "Deployment to Digital ocean was successfull"

0 comments on commit 3024d03

Please sign in to comment.