Files
SkillHub/.github/workflows/deploy.yml
T
2024-04-01 01:33:42 +03:00

19 lines
378 B
YAML

name: Deployment
on:
workflow_run:
workflows: ["Django CI/CD", "Frontend CI/CD"]
types:
- completed
jobs:
deploy:
runs-on: self-hosted
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- name: Pull Docker images and start containers
run: |
docker-compose up -d --build