diff --git a/.github/workflows/basic_workflow_dispatch_example.yml b/.github/workflows/basic_workflow_dispatch_example.yml index d8c1a4e..3ef6e3a 100644 --- a/.github/workflows/basic_workflow_dispatch_example.yml +++ b/.github/workflows/basic_workflow_dispatch_example.yml @@ -1,10 +1,14 @@ name: Basic Workflow Dispatch Example +# manual trigger workflow +# This workflow can be manually triggered via the GitHub UI +# by going to the "Actions" tab, selecting this workflow, and clicking "Run workflow on: workflow_dispatch: -jobs: +jobs: deploy: runs-on: ubuntu-latest steps: - - run: echo "We did the thing!" \ No newline at end of file + - run: echo " We did the thing!" + \ No newline at end of file diff --git a/.github/workflows/workflow_dispatch_choice_input_example.yml b/.github/workflows/workflow_dispatch_choice_input_example.yml deleted file mode 100644 index e570b1e..0000000 --- a/.github/workflows/workflow_dispatch_choice_input_example.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Workflow Dispatch Choice Input Example - -on: - workflow_dispatch: - inputs: - environment: - description: 'The environment to deploy to' - required: true - default: 'dev' - type: choice - options: - - production - - qa - - dev -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - run: echo "Deploying to ${{ github.event.inputs.environment }} environment" \ No newline at end of file diff --git a/.github/workflows/workflow_dispatch_environment_input_example.yml b/.github/workflows/workflow_dispatch_environment_input_example.yml deleted file mode 100644 index 917f800..0000000 --- a/.github/workflows/workflow_dispatch_environment_input_example.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Workflow Dispatch Environment Input Example - -on: - workflow_dispatch: - inputs: - environment: - description: 'Environment to deploy' - type: environment - required: true -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - run: echo "Deploying to ${{ github.event.inputs.environment }} environment" \ No newline at end of file diff --git a/.github/workflows/workflow_dispatch_freeform_input_example.yml b/.github/workflows/workflow_dispatch_freeform_input_example.yml deleted file mode 100644 index 38b9ae4..0000000 --- a/.github/workflows/workflow_dispatch_freeform_input_example.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Workflow Dispatch Freeform Input Example - -on: - workflow_dispatch: - inputs: - environment: - description: 'The environment to deploy to' - required: true - default: 'production' -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - run: echo "Deploying to ${{ github.event.inputs.environment }} environment" \ No newline at end of file diff --git a/.github/workflows/workflow_dispatch_multiple_input_example.yml b/.github/workflows/workflow_dispatch_multiple_input_example.yml deleted file mode 100644 index e48e9f8..0000000 --- a/.github/workflows/workflow_dispatch_multiple_input_example.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Workflow Dispatch Multiple Input Example - -on: - workflow_dispatch: - inputs: - environment: - description: 'Environment to deploy' - type: environment - required: true - notify: - description: 'Notify of deployment?' - required: true - type: boolean - default: false -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - run: echo "Deploying to ${{ github.event.inputs.environment }} environment" - - notify: - runs-on: ubuntu-latest - if: ${{ github.event.inputs.notify }} - steps: - - run: echo "Deployed to ${{ github.event.inputs.environment }}"