Skip to content

Update python-app.yml #12

Update python-app.yml

Update python-app.yml #12

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker images
run: docker-compose build
- name: Run Docker Compose
run: docker-compose up -d
- name: Check running containers
run: docker ps -a
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to production
run: echo "Deploying to production server"