diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 2fa306d..ff08cb2 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -1,6 +1,22 @@ name: CICD run-name: ${{ gitea.actor }} triggered CICD -on: [push] +on: + workflow_dispatch: + inputs: + environment: + description: 'Deployment target' + required: true + default: 'staging' + type: choice + options: + - staging + - production + schedule: + - cron: '0 2 * * *' + push: + branches: + - main + - staging jobs: Explore-Gitea-Actions: