usov_i 791cc2f352
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Update .gitea/workflows/demo.yaml
2025-03-31 16:59:02 +02:00

34 lines
940 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
workflow_dispatch:
inputs:
HOSTS:
required: true
description: "Comma separated list of hosts or groups that should be deployed"
default: all:!bec
type: string
DEPLOY:
description: "Execute actual deployment. If false then only perform tests"
default: false
type: boolean
FIRST_INSTALL:
description: "Put it to True only if the FPGA card has never been flashed before"
default: false
type: boolean
env:
HOSTS: ${{ inputs.HOSTS || 'all:!bec' }}
DEPLOY: ${{ inputs.DEPLOY || false }}
FIRST_INSTALL: ${{ inputs.FIRST_INSTALL || false }}
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: |
echo "HOSTS: $HOSTS"
echo "DEPLOY: $DEPLOY"
echo "FIRST_INSTALL: $FIRST_INSTALL"