ci: simplify dev pipeline to build-test only (api-client has TS errors, remove for now)
All checks were successful
Dev Build / build-test (push) Successful in 3m46s
All checks were successful
Dev Build / build-test (push) Successful in 3m46s
This commit is contained in:
@@ -42,31 +42,3 @@ jobs:
|
|||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: npm run build
|
run: npm run build
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
- name: Build API client
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run build --if-present
|
|
||||||
working-directory: ./api-client
|
|
||||||
|
|
||||||
notify-success:
|
|
||||||
needs: build-test
|
|
||||||
if: success() && gitea.event_name == 'push'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Notify Slack success
|
|
||||||
run: |
|
|
||||||
curl -X POST -H 'Content-type: application/json' \
|
|
||||||
--data "{\"text\":\"✅ Control-Center dev built successfully.\"}" \
|
|
||||||
"${{ secrets.SLACK_WEBHOOK_URL }}"
|
|
||||||
|
|
||||||
notify-failure:
|
|
||||||
needs: build-test
|
|
||||||
if: failure()
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Notify Slack failure
|
|
||||||
run: |
|
|
||||||
curl -X POST -H 'Content-type: application/json' \
|
|
||||||
--data "{\"text\":\"🚨 Control-Center dev pipeline failed. Check Gitea Actions for details.\"}" \
|
|
||||||
"${{ secrets.SLACK_WEBHOOK_URL }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user