Compare commits

...

3 Commits

Author SHA1 Message Date
e1ac454ca3 Merge pull request 'Update .gitea/workflows/demo.yaml' (#3) from usov_i-patch-1 into main
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Reviewed-on: #3
2025-03-31 16:59:28 +02:00
791cc2f352 Update .gitea/workflows/demo.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
2025-03-31 16:59:02 +02:00
73de2921b4 Update config
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
2025-03-21 10:45:20 +01:00
2 changed files with 29 additions and 14 deletions

View File

@ -1,19 +1,34 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
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 "Bypass the branch protection rule"
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: |
echo "HOSTS: $HOSTS"
echo "DEPLOY: $DEPLOY"
echo "FIRST_INSTALL: $FIRST_INSTALL"

View File

@ -1,3 +1,3 @@
# test
# test
host:
test_key: test_var2
test_key: test_var3