Skip to content

Commit 42c6480

Browse files
authored
Merge pull request #73 from asperpharma/copilot/setup-auto-deployment
Fix Lovable sync workflows: remove invalid job-level secrets condition
2 parents 550bf18 + ea8fc43 commit 42c6480

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/sync-file-changes-to-lovable.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# 2. Add secret: LOVABLE_WEBHOOK_URL = (webhook URL from Lovable for file sync)
1010
# 3. See docs/GITHUB_SECRETS_SETUP.md for detailed instructions
1111
#
12-
# This workflow will FAIL if LOVABLE_WEBHOOK_URL is not configured.
12+
# This workflow skips gracefully if LOVABLE_WEBHOOK_URL is not configured.
1313
#
1414
name: Sync File Changes to Lovable
1515

@@ -21,8 +21,6 @@ on:
2121
jobs:
2222
sync_files_to_lovable:
2323
runs-on: ubuntu-latest
24-
# Skip this job if LOVABLE_WEBHOOK_URL is not configured
25-
if: secrets.LOVABLE_WEBHOOK_URL != ''
2624
steps:
2725
- name: Filter commit file changes and send to Lovable
2826
env:

.github/workflows/sync-issues-prs-to-lovable.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# 2. Add secret: LOVABLE_WEBHOOK_URL = (webhook URL from Lovable)
1010
# 3. See docs/GITHUB_SECRETS_SETUP.md for detailed instructions
1111
#
12-
# This workflow will FAIL if LOVABLE_WEBHOOK_URL is not configured.
12+
# This workflow skips gracefully if LOVABLE_WEBHOOK_URL is not configured.
1313
#
1414
name: Sync Issues and PRs to Lovable
1515

@@ -22,8 +22,6 @@ on:
2222
jobs:
2323
sync_to_lovable:
2424
runs-on: ubuntu-latest
25-
# Skip this job if LOVABLE_WEBHOOK_URL is not configured
26-
if: secrets.LOVABLE_WEBHOOK_URL != ''
2725
steps:
2826
- name: Send event data to Lovable
2927
env:

0 commit comments

Comments
 (0)