From f1d4f1ae957d27520bf200029cf7e0b199ce3db7 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 9 May 2020 15:17:14 +0200 Subject: [PATCH] Fix action yml --- .github/workflows/ci.yml | 2 ++ .github/workflows/dev.yml | 2 ++ CHANGELOG.md | 5 +++++ README.md | 2 +- action.yml | 8 ++++++++ 5 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd59135..c75bceb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ on: push: branches: - 'dev' + paths-ignore: + - '**.md' jobs: ci: diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 75c64f9..ad27363 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -4,6 +4,8 @@ on: push: branches: - 'dev' + paths-ignore: + - '**.md' jobs: prune: diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f9b08d..f8a2b2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.5.2 (2020/05/09) + +* Update CI workflow +* Fix action yml + ## 1.5.1 (2020/05/04) * Keep PAT if you want to deploy to another repo diff --git a/README.md b/README.md index 201ebce..909b804 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![GitHub release](https://img.shields.io/github/release/crazy-max/ghaction-github-pages.svg?style=flat-square)](https://github.com/crazy-max/ghaction-github-pages/releases/latest) [![GitHub marketplace](https://img.shields.io/badge/marketplace-github--pages-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/github-pages) -[![CI workflow](https://github.com/crazy-max/ghaction-github-pages/workflows/ci/badge.svg)](https://github.com/crazy-max/ghaction-github-pages/actions/?workflow=ci) +[![CI workflow](https://img.shields.io/github/workflow/status/crazy-max/ghaction-github-pages/ci?label=ci&logo=github&style=flat-square)](https://github.com/crazy-max/ghaction-github-pages/actions?workflow=ci) [![Become a sponsor](https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github&style=flat-square)](https://github.com/sponsors/crazy-max) [![Paypal Donate](https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal&style=flat-square)](https://www.paypal.me/crazyws) diff --git a/action.yml b/action.yml index 9b56465..3e36794 100644 --- a/action.yml +++ b/action.yml @@ -9,26 +9,34 @@ branding: inputs: repo: description: 'GitHub repository where assets will be deployed (default current)' + required: false target_branch: description: 'Git branch where assets will be deployed' default: 'gh-pages' + required: false keep_history: description: 'Create incremental commit instead of doing push force' default: 'false' + required: false allow_empty_commit: description: 'Allow an empty commit to be created' default: 'true' + required: false build_dir: description: 'Build directory to deploy' required: true committer_name: description: 'Commit author''s name' + required: false committer_email: description: 'Commit author''s email' + required: false commit_message: description: 'Commit message' + required: false fqdn: description: 'Write the given domain name to the CNAME file' + required: false runs: using: 'node12'