wf dispatch
This commit is contained in:
parent
963a35e836
commit
77c4d83460
|
|
@ -1,6 +1,22 @@
|
||||||
name: CICD
|
name: CICD
|
||||||
run-name: ${{ gitea.actor }} triggered 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:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue