define triggers in workflow

This commit is contained in:
olemorud
2022-12-07 18:41:22 +01:00
parent d4889c4e3e
commit af2584f5a0

View File

@@ -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'