[fix] Fix CI/CD
This commit is contained in:
@@ -2,7 +2,7 @@ name: Deployment
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Django CI/CD", "Frontend CI/CD"]
|
workflows: ["Frontend CI/CD"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
@@ -15,4 +15,4 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Pull Docker images and start containers
|
- name: Pull Docker images and start containers
|
||||||
run: |
|
run: |
|
||||||
docker compose up -d --build
|
sudo docker compose up -d --build
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
name: Frontend CI/CD
|
name: Frontend CI/CD
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Django CI/CD"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linting:
|
linting:
|
||||||
|
|||||||
Reference in New Issue
Block a user