Skip to content

Merge pull request #8 from davi-lucciola/dev #7

Merge pull request #8 from davi-lucciola/dev

Merge pull request #8 from davi-lucciola/dev #7

Workflow file for this run

name: Continuos Delivery - CD

Check failure on line 1 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: aws
on:
# workflow_run:
# workflows: ["Continuos Integration - CI"]
# types:
# - requested
workflow_dispatch:
jobs:
aws:
runs-on: self-hosted
# steps:
# # Running API Container
# - name: Pull Docker Image (API)
# run: |
# sudo docker image rm -f davilucciola/knockbank-api
# sudo docker pull davilucciola/knockbank-api:latest
# - name: Delete Old Container (API)
# run: sudo docker rm -f knockbank-api || true
# - name: Run Docker Container (API)
# env:
# TOKEN_SECRET: ${{ secrets.TOKEN_SECRET }}
# SQLALCHEMY_DATABASE_URI: ${{ secrets.SQLALCHEMY_DATABASE_URI }}
# run: |
# sudo docker run --name knockbank-api -p 5000:5000 --restart=always \
# -e TOKEN_SECRET=$TOKEN_SECRET \
# -e SQLALCHEMY_DATABASE_URI=$SQLALCHEMY_DATABASE_URI \
# -d davilucciola/knockbank-api