Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Being able to trigger the adf trigger from workflow (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziovitale authored May 9, 2022
1 parent 470d9c3 commit 75ba257
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/js-api-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
branches:
- develop
schedule:
- cron: '0 3 * * *' # nightly
- cron: '0 3 * * *' # At 03:00 AM nightly every day
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:

env:
GITHUB_REPO_SLUG: ${{ github.repository }}
GITHUB_BRANCH: ${{ github.ref }}
Expand Down Expand Up @@ -111,7 +114,8 @@ jobs:
- name: Trigger ADF alpha
shell: bash
if: github.event.schedule == '0 3 * * *'
if: github.event.schedule == '0 3 * * *' || github.event_name == 'workflow_dispatch'

run: |
git config --global user.email ${{ secrets.BOT_GITHUB_EMAIL }}
git config --global user.name ${{ secrets.BOT_GITHUB_USERNAME }}
Expand Down

0 comments on commit 75ba257

Please sign in to comment.