Skip to content

Moved deploy-flask-api.yml to workflows. #1

Moved deploy-flask-api.yml to workflows.

Moved deploy-flask-api.yml to workflows. #1

name: Deploy

Check failure on line 1 in .github/workflows/deploy-flask-api.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-flask-api.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
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
flask --app api run --host=0.0.0.0 --port=80
echo "Deployment to Digital ocean was successfull"