Skip to content

Commit

Permalink
Workflow: run nightly only on develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Binnette committed Nov 27, 2024
1 parent 1f74916 commit d5e54bc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ name: Nightly APK
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: # This enables manual triggering
workflow_dispatch:
inputs:
branch:
description: 'Branch to run the workflow on'
default: 'develop'
required: true

jobs:
build:
# if: github.event.schedule_activity.commits > 0
if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit d5e54bc

Please sign in to comment.