Skip to content

Commit

Permalink
schedule doc update as cronjob (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaperis authored Aug 7, 2024
2 parents 631341a + dbaca2b commit 7983605
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/aggregate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: "Aggregate documentation"

on:
schedule:
- cron: "0 7 * * 1"
workflow_dispatch:
inputs:
repository:
Expand All @@ -19,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: bash aggregate-repositories.sh ${{ inputs.repository }}
- run: bash aggregate-repositories.sh ${{ inputs.repository || 'neicnordic/sensitive-data-archive' }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down

0 comments on commit 7983605

Please sign in to comment.