Skip to content

Commit

Permalink
Merge pull request #23 from YaroslavKSE/YaroslavKSE-patch-6
Browse files Browse the repository at this point in the history
Create deploy-flask-api.yml
  • Loading branch information
YaroslavKSE authored Oct 26, 2023
2 parents b73247f + a8485fc commit 5eb1539
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/deploy-flask-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy
on:
push:
branches: [main]
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}}

script:
cd Tests
git clone https://github.com/YaroslavKSE/Tests.git
echo "Deployment to Digital ocean was successfull"

0 comments on commit 5eb1539

Please sign in to comment.