From 35ec763c1deb15822a88b3955b514f36782e10bd Mon Sep 17 00:00:00 2001 From: OmSantoshHarsule <162496189+OmSantoshHarsule@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:30:32 +0000 Subject: [PATCH] adding the webhook --- .github/workflows/manual.yml | 32 ------------------- .../workflows}/webhook.yml | 0 2 files changed, 32 deletions(-) delete mode 100644 .github/workflows/manual.yml rename {github-actions/templates => .github/workflows}/webhook.yml (100%) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml deleted file mode 100644 index dfee2a51..00000000 --- a/.github/workflows/manual.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Manual Trigger with Params - -on: - workflow_dispatch: - inputs: - name: - description: 'Name of the person to greet' - required: true - type: string - greeting: - description: 'Type of greeting' - required: true - type: string - data: - description: 'Base64 encoded content of a file' - required: false - type: string - -jobs: - greet: - runs-on: ubuntu-latest - steps: - - name: Decode File Content - run: | - echo "${{ inputs.data }}" - - name: Display Greeting - run: | - echo "${{ inputs.greeting }}, ${{ inputs.name }}!" - - name: Display File Content - run: | - echo "Contents of the file:" - cat mydata.txt \ No newline at end of file diff --git a/github-actions/templates/webhook.yml b/.github/workflows/webhook.yml similarity index 100% rename from github-actions/templates/webhook.yml rename to .github/workflows/webhook.yml