[chore] Update deploy workflow to depend on CI and CI to run only on PRs

This commit is contained in:
JasterV 2025-06-02 22:05:54 +02:00
parent 588cf9ddda
commit eda6c0a5e2
2 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,9 @@
name: Run CI checks
on:
push:
pull_request:
branches:
- "main"
jobs:
ci:

View file

@ -10,6 +10,10 @@ on:
workflow_dispatch:
jobs:
ci:
uses: ./.github/workflows/ci.yml
secrets: inherit
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
@ -25,11 +29,7 @@ jobs:
- name: Install dependencies
run: |
bun install
- name: Run check
run: |
bun run check
- name: 🔨 Build Project
run: |
bun run build