Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Release

Release #5

name: Release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "lib/jekyll-last-modified-at/version.rb"
pull_request_target:
types:
- closed
jobs:
ruby:
uses: yettoapp/actions/.github/workflows/ruby_gem_release.yml@main
secrets:
rubygems_api_key: ${{ secrets.RUBYGEMS_API_BOT_KEY }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
gem_name: html-proofer
version_filepath: lib/jekyll-last-modified-at/version.rb
prepare: ${{ github.event_name == 'push' }}
release: ${{ github.event_name == 'workflow_dispatch' || ((github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release'))) }}