mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 06:58:01 +08:00
Add ability to provide shift parameter to the action
Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com>
This commit is contained in:
13
.github/workflows/sync.yaml
vendored
13
.github/workflows/sync.yaml
vendored
@@ -1,13 +1,14 @@
|
||||
name: Sync containers repositories
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# # Every day at 1 AM
|
||||
# - cron: '0 1 * * *'
|
||||
schedule:
|
||||
# Every day at 1 AM
|
||||
- cron: '0 1 * * *'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tags:
|
||||
description: 'Test manually'
|
||||
shift:
|
||||
description: 'Commits to shift if you edited the containers folder'
|
||||
default: '0'
|
||||
jobs:
|
||||
build:
|
||||
name: Trigger Site Rebuild
|
||||
@@ -18,4 +19,4 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.BITNAMI_BOT_SECRET }}
|
||||
- name: Fetch
|
||||
run: ./scripts/fetch-commits.sh
|
||||
run: ./scripts/fetch-commits.sh ${{ github.event.inputs.shift }}
|
||||
|
||||
Reference in New Issue
Block a user