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
2 changes: 0 additions & 2 deletions .github/workflows/github-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ concurrency:

jobs:
test:
# Skip if push is from sync-main-to-dev bot (code already deployed to staging/GH-Pages & prod/Netlify)
if: github.actor != 'github-actions[bot]'
uses: ./.github/workflows/test.yml

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sync-main-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
git reset --hard origin/main
fi

# Create empty commit with skip ci to prevent triggering workflows
git commit --allow-empty -m "chore: sync from main [skip ci]"

# Push with force-with-lease (safe force push that fails if remote has new commits)
# This workflow uses a PAT with admin bypass to push directly to the protected branch
git push origin dev --force-with-lease