Skip to content

Commit

Permalink
Update sync_build_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler authored Jan 2, 2025
1 parent 1a73419 commit de26498
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/sync_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ on:
schedule:
- cron: '0 */6 * * *'

push:
branches: [ "main" ]

pull_request:
branches: [ "main" ]

workflow_dispatch:
inputs:
repo_name:
Expand All @@ -18,10 +12,10 @@ on:
description: "Run Sync"
type: choice
required: false
default: 'false'
default: 'No'
options:
- 'true'
- 'false'
- 'Yes'
- 'No'

permissions:
contents: write
Expand All @@ -35,7 +29,7 @@ concurrency:
cancel-in-progress: false

env:
IS_SYNC: ${{ inputs.run_sync == 'true' || github.event_name == 'schedule' || startsWith(github.event.head_commit.message, '[sync]') }}
IS_SYNC: ${{ inputs.run_sync == 'Yes' || github.event_name == 'schedule' }}

jobs:
sync:
Expand Down

0 comments on commit de26498

Please sign in to comment.