From dd606843c03454af3d8580001c931c40f35b8dff Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Mon, 1 Jan 2024 11:34:23 -0700 Subject: [PATCH] a --- action.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index a32ad5e..75de562 100644 --- a/action.yaml +++ b/action.yaml @@ -1,10 +1,18 @@ name: npm-publish description: "publishes latest version tag to a npm repository" author: "Bryce Thorup" +inputs: + npm_repo_key: + description: Key used for publising to npm repo + required: true + npm_repo_url: + description: URL to npm repo + required: true runs: using: "composite" steps: - run: $GITHUB_ACTION_PATH/action.sh env: - NPM_REPO_KEY: ${{ secrets.NPM_REPO_KEY}} + NPM_REPO_KEY: ${{ github.events.inputs.npm_repo_key}} + NPM_REPO_URL: ${{ github.events.inputs.npm_repo_url}} shell: bash