From 84e64310d283067cd9493fa31fefa2025a97ea43 Mon Sep 17 00:00:00 2001 From: WonChul Heo Date: Wed, 5 Feb 2020 12:47:15 +0900 Subject: [PATCH] Add metadata (#6) * Create action.yml * Update Dockerfile Fixes #5 --- Dockerfile | 4 ++-- action.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 action.yml diff --git a/Dockerfile b/Dockerfile index d78fbfe..1c03c9e 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:10 -LABEL version="1.0.1" +LABEL version="1.0.2" LABEL repository="http://github.com/heowc/action-hexo" LABEL homepage="https://heowc.github.io" LABEL maintainer="heowc " @@ -19,4 +19,4 @@ COPY "entrypoint.sh" "/entrypoint.sh" RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] -CMD ["help"] \ No newline at end of file +CMD ["help"] diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..b65969e --- /dev/null +++ b/action.yml @@ -0,0 +1,12 @@ +name: 'GitHub Action for Hexo' +description: 'Wraps the hexo CLI to enable common hexo commands.' +author: 'heowc' +runs: + using: 'docker' + image: 'Dockerfile' + env: + NAME: '' + EMAIL: '' +branding: + color: 'red' + icon: 'package'