From 010baa15d0d05da1da5327601baa7d96220755e5 Mon Sep 17 00:00:00 2001 From: guzhongren Date: Sat, 8 Jan 2022 00:07:48 +0800 Subject: [PATCH] feat(action): as an action --- Dockerfile | 3 +++ action.yml | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 Dockerfile create mode 100644 action.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..20c470a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM node:lts-alpine +COPY entrypoint.sh /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..2c2870c --- /dev/null +++ b/action.yml @@ -0,0 +1,9 @@ +name: 'Algolia Docsearch Action' +description: 'An Algolia docsearch uploader' +outputs: + time: + description: '🚀Uploaded algolia index completed' + +runs: + using: 'docker' + image: 'Dockerfile'