Skip to content

Commit 4fd284e

Browse files
committed
Add herald workflow
1 parent 461ad0e commit 4fd284e

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/herald.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Herald
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 7 * * *'
7+
8+
jobs:
9+
debounce:
10+
name: Debounce
11+
runs-on: ubuntu-latest
12+
outputs:
13+
debounce: ${{ steps.debounce.outputs.should_skip }}
14+
steps:
15+
- id: debounce
16+
uses: fkirc/skip-duplicate-actions@master
17+
with:
18+
concurrent_skipping: same_content_newer
19+
skip_after_successful_duplicate: false
20+
21+
render:
22+
name: Herald
23+
needs: debounce
24+
if: ${{ needs.debounce.outputs.debounce != 'true' }}
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
with:
29+
ref: posts
30+
- uses: docker://ghcr.io/javaby/herald:latest

herald/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ ARG JAVA=17
33
FROM openjdk:${JAVA}
44

55
COPY build/install/* /opt/herald
6+
RUN microdnf install findutils
67

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

0 commit comments

Comments
 (0)