mirror of
https://codeberg.org/JasterV/jaster.xyz.git
synced 2026-04-26 18:10:01 +00:00
[chore] Update deploy workflow to depend on CI and CI to run only on PRs
This commit is contained in:
parent
588cf9ddda
commit
eda6c0a5e2
2 changed files with 8 additions and 6 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -1,7 +1,9 @@
|
|||
name: Run CI checks
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
|
|
|
|||
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
|
|
@ -10,6 +10,10 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
secrets: inherit
|
||||
|
||||
web-deploy:
|
||||
name: 🎉 Deploy
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -26,10 +30,6 @@ jobs:
|
|||
run: |
|
||||
bun install
|
||||
|
||||
- name: Run check
|
||||
run: |
|
||||
bun run check
|
||||
|
||||
- name: 🔨 Build Project
|
||||
run: |
|
||||
bun run build
|
||||
|
|
|
|||
Loading…
Reference in a new issue