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

19 lines
367 B
YAML

name: Deployment
on:
workflow_run:
workflows: ["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: |
sudo docker compose up -d --build