Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: Deploy DSpace

on:
schedule:
- cron: '0 21 * * 6' # Runs every Saturday at 9 PM
workflow_call:
inputs:
INSTANCE:
Expand Down Expand Up @@ -37,6 +39,18 @@ on:
type: boolean

jobs:
import-every-week:
# Only run this job when triggered by the schedule event
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
steps:
- name: Call the deploy action with predefined inputs
uses: ./.github/actions/deploy-dspace # Path to your custom action
with:
INSTANCE: '8'
IMPORT: true
ERASE_DB: true

deploy-5:
if: inputs.INSTANCE == '*' || inputs.INSTANCE == '5'
runs-on: dspace-dep-1
Expand Down