Skip to content

Commit

Permalink
Added manual trigger to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaSimsic committed Nov 14, 2023
1 parent b91353f commit fa88ff8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/NativePipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Run Native Pipeline
on:
workflow_dispatch:
inputs:
target-branch:
description: "Target Branch to Run the Job (leave empty for scheduled run)"
required: false

# schedule:
# - cron: "0 6 * * *"

# push:
# branches: [master]
Expand Down Expand Up @@ -457,3 +464,16 @@ jobs:
name: ios-artifacts
path: packages/pluggableWidgets/**/artifacts/
if-no-files-found: ignore

trigger-on-branch:
if: github.event.inputs.target-branch == github.ref
needs: get-results
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
ref: ${{ github.event.inputs.target-branch }}

- name: Rerun the job on the specified branch
run: echo "Rerun the job on the specified branch"

0 comments on commit fa88ff8

Please sign in to comment.