From af2584f5a004b1535859928de517c16b8eb92be4 Mon Sep 17 00:00:00 2001 From: olemorud Date: Wed, 7 Dec 2022 18:41:22 +0100 Subject: [PATCH] define triggers in workflow --- .github/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1270052..ea9d1f8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,8 @@ name: 'Deploy Google Cloud Function' +on: workflow_dispatch + jobs: deploy: permissions: @@ -27,7 +29,3 @@ jobs: - id: 'Test #1' run: 'echo "This should fail (no token)"; "curl "${{ steps.deploy.outputs.url }}" || true' - - - id: 'Test #2' - run: 'echo "This should succeed"; "curl "${{ steps.deploy.outputs.url }}" || true' -