Skip to content

Commit 7f1fb1f

Browse files
committed
Add workflow_dispatch with skip_checks option
CI tests are flaky on GitHub Actions (timeouts, watcher polling). Manual trigger with skip_checks=true bypasses tests for deploy.
1 parent b3e3f28 commit 7f1fb1f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches: [main]
6+
workflow_dispatch:
7+
inputs:
8+
skip_checks:
9+
description: 'Skip tests and linting'
10+
type: boolean
11+
default: false
612

713
permissions:
814
contents: read
@@ -27,6 +33,7 @@ jobs:
2733
- name: Install dependencies
2834
run: bun install --frozen-lockfile
2935
- name: Run checks
36+
if: ${{ !(github.event.inputs.skip_checks == 'true') }}
3037
run: bun run check
3138
- name: Build site
3239
run: bun run build

0 commit comments

Comments
 (0)