Skip to content

Commit

Permalink
Merge pull request #29 from hahwul/dev
Browse files Browse the repository at this point in the history
Release 1.4.1
  • Loading branch information
hahwul authored Oct 6, 2024
2 parents 1e56ff2 + 77b519f commit 950d275
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 59 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ name: GHCR Publish
on:
push:
branches: [main]
tags: ['*.*.*']
release:
types: [published]
workflow_dispatch:
Expand Down
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].0
uses: hahwul/[email protected].1
id: broken-link
with:
command: sitemap # url / file / sitemap
Expand Down
73 changes: 18 additions & 55 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,83 +1,46 @@
name: 'DeadFinder Action'
description: 'Find dead-links (broken links)'
---
name: DeadFinder Action
description: Find dead-links (broken links)
branding:
icon: 'link'
color: 'purple'
icon: link
color: purple
inputs:
command:
description: 'The command to run (file, url, sitemap)'
description: The command to run (file, url, sitemap)
required: true
target:
description: 'The target for the command'
description: The target for the command
required: true
timeout:
description: 'Timeout in seconds'
description: Timeout in seconds
required: false
default: ''
concurrency:
description: 'Number of concurrency'
description: Number of concurrency
required: false
default: ''
silent:
description: 'Silent mode'
required: false
default: 'false'
inputs:
command:
description: 'The command to run (file, url, sitemap)'
required: true
target:
description: 'The target for the command'
required: true
timeout:
description: 'Timeout in seconds'
required: false
default: ''
concurrency:
description: 'Number of concurrency'
required: false
default: ''
silent:
description: 'Silent mode'
required: false
default: 'false'
inputs:
command:
description: 'The command to run (file, url, sitemap)'
required: true
target:
description: 'The target for the command'
required: true
timeout:
description: 'Timeout in seconds'
required: false
default: ''
concurrency:
description: 'Number of concurrency'
required: false
default: ''
silent:
description: 'Silent mode'
description: Silent mode
required: false
default: 'false'
headers:
description: 'Custom HTTP headers to send with request, separated by commas'
description: Custom HTTP headers to send with request, separated by commas
required: false
default: ''
verbose:
description: 'Verbose mode'
description: Verbose mode
required: false
default: 'false'
include30x:
description: 'Include 30x status code'
description: Include 30x status code
required: false
default: 'false'
outputs:
output:
description: 'JSON Result'
output:
description: JSON Result
runs:
using: 'docker'
image: 'github-action/Dockerfile'
using: docker
image: github-action/Dockerfile
args:
- ${{ inputs.command }}
- ${{ inputs.target }}
Expand All @@ -86,4 +49,4 @@ runs:
- ${{ inputs.silent }}
- ${{ inputs.headers }}
- ${{ inputs.verbose }}
- ${{ inputs.include30x }}
- ${{ inputs.include30x }}
2 changes: 1 addition & 1 deletion github-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/hahwul/deadfinder:1.4.0
FROM ghcr.io/hahwul/deadfinder:1.4.1
COPY entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
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.0'
VERSION = '1.4.1'

0 comments on commit 950d275

Please sign in to comment.