Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>pull/497/head
parent
6f52843178
commit
6e6be06e3b
@ -0,0 +1,50 @@
|
|||||||
|
name: Execute Scripts
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "docs/**"
|
||||||
|
- "README.md"
|
||||||
|
- "README_zh-CN.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "README.md"
|
||||||
|
- "README_zh-CN.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
- "docs/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
execute-scripts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Start Docker Compose
|
||||||
|
run: docker-compose up -d
|
||||||
|
|
||||||
|
- name: Stop all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/stop_all.sh
|
||||||
|
./scripts/stop_all.sh
|
||||||
|
|
||||||
|
- name: Build all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/build_all_service.sh
|
||||||
|
./scripts/build_all_service.sh
|
||||||
|
|
||||||
|
- name: Start all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/start_all.sh
|
||||||
|
./scripts/start_all.sh
|
||||||
|
|
||||||
|
- name: Check all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/check_all.sh
|
||||||
|
./scripts/check_all.sh
|
Loading…
Reference in new issue