[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 name: Run CI checks
on: on:
push: pull_request:
branches:
- "main"
jobs: jobs:
ci: ci:

View file

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