From 5180a93ee6c97ef6cea1f1fe65b8f8e9989c9c91 Mon Sep 17 00:00:00 2001 From: xuu Date: Sat, 30 Sep 2023 19:57:17 -0600 Subject: [PATCH] build: test workflow dispatch --- .gitea/workflows/bump.yml | 24 ++++++++++++------------ .gitea/workflows/deploy.yml | 2 ++ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/bump.yml b/.gitea/workflows/bump.yml index 4b5deed..890b48b 100644 --- a/.gitea/workflows/bump.yml +++ b/.gitea/workflows/bump.yml @@ -1,19 +1,19 @@ name: Go Bump on: - # workflow_dispatch: - # inputs: - # NAME: - # description: "A random input name for the workflow" - # type: string - # SOME_VALUE: - # description: "Some other input to pass" - # type: string + workflow_dispatch: + inputs: + NAME: + description: "A random input name for the workflow" + type: string + SOME_VALUE: + description: "Some other input to pass" + type: string - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + # push: + # branches: [ "main" ] + # pull_request: + # branches: [ "main" ] jobs: bump: diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a4af4f9..a52a8e2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -5,6 +5,8 @@ on: # branches: [ "main" ] release: types: [ published ] + create: + types: [ tag ] jobs: deploy: