Skip to content
Merged
Show file tree
Hide file tree
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
30 changes: 30 additions & 0 deletions .github/workflows/herald.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Herald

on:
workflow_dispatch:
schedule:
- cron: '0 7 * * *'

jobs:
debounce:
name: Debounce
runs-on: ubuntu-latest
outputs:
debounce: ${{ steps.debounce.outputs.should_skip }}
steps:
- id: debounce
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: same_content_newer
skip_after_successful_duplicate: false

render:
name: Herald
needs: debounce
if: ${{ needs.debounce.outputs.debounce != 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: posts
- uses: docker://ghcr.io/javaby/herald:latest
1 change: 1 addition & 0 deletions herald/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ ARG JAVA=17
FROM openjdk:${JAVA}

COPY build/install/* /opt/herald
RUN microdnf install findutils

ENTRYPOINT ["/opt/herald/bin/herald"]