Skip to content

Commit

Permalink
Merge pull request #34 from hahwul/dev
Browse files Browse the repository at this point in the history
Release 1.4.4
  • Loading branch information
hahwul authored Oct 9, 2024
2 parents f0e7e6a + c533303 commit 8955cc7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ deadfinder sitemap https://www.hahwul.com/sitemap.xml
```yml
steps:
- name: Run DeadFinder
uses: hahwul/[email protected].3
uses: hahwul/[email protected].4
# or uses: hahwul/deadfinder@latest
id: broken-link
with:
Expand Down
14 changes: 12 additions & 2 deletions github-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
FROM ghcr.io/hahwul/deadfinder:1.4.3
# Use the deadfinder base image from GitHub Container Registry
FROM ghcr.io/hahwul/deadfinder:1.4.4

# Install jq for JSON processing
RUN apt-get update && apt-get install -y jq

# Copy the entrypoint script into the container
COPY entrypoint.sh /entrypoint.sh

# Make the entrypoint script executable
RUN chmod 755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

# Set the entrypoint to the script
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 3 additions & 1 deletion github-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ fi

# Read the output and set it as a GitHub Action output
out=$(cat /output.json)
echo "output=$out" >> $GITHUB_OUTPUT
encoded_output=$(echo "$out" | jq -c . | tr -d '^J')

echo "output=$encoded_output" >> $GITHUB_OUTPUT
2 changes: 1 addition & 1 deletion lib/deadfinder/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# frozen_string_literal: true

VERSION = '1.4.3'
VERSION = '1.4.4'

0 comments on commit 8955cc7

Please sign in to comment.