diff --git a/action.yml b/action.yml index f412ec1..e09c9ef 100644 --- a/action.yml +++ b/action.yml @@ -30,10 +30,7 @@ inputs: description: 'Timeout in ms' required: false default: '3600000' - command: - description: 'Command to run (deploy, hello)' - required: false - default: 'deploy' + runs: using: "composite" @@ -43,19 +40,12 @@ runs: node-version: '20' - name: Install dependencies - if: inputs.command == 'deploy' shell: bash run: | cd ${{ github.action_path }} npm install --no-save --omit=dev - - name: Hello World - if: inputs.command == 'hello' - shell: bash - run: echo "Hello World" - - name: Run deployment script - if: inputs.command == 'deploy' shell: bash run: node ${{ github.action_path }}/main.js env: