Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/branch-protection.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Branch Protection Rules

on:
# Disabled automatic triggers to prevent API permission issues
# when pushing directly to main branch
# push:
# branches:
# - main
workflow_dispatch: # Allow manual triggering only
# Automatic trigger to apply branch protection rules when pushing to main
push:
branches:
- main
workflow_dispatch: # Also allow manual triggering

jobs:
setup-branch-protection:
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Deploy GitHub Pages

on:
# Disable this workflow until Pages is properly configured
# push:
# branches:
# - main
# - master
# paths:
# - 'docs/**'
workflow_dispatch: # Allow manual triggering only
# Runs on pushes targeting the default branch
push:
branches:
- main
- master
paths:
- 'docs/**'
workflow_dispatch: # Allow manual triggering

permissions:
contents: read
Expand All @@ -28,6 +28,8 @@ jobs:

- name: Setup Pages
uses: actions/configure-pages@v4
with:
enablement: true

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
Expand Down
Loading