-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9071227
commit 3024d03
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|