Files
frontend/.gitea/workflows/demo.yaml
T
austnv a20d4aeb92
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
update runner
2026-06-07 10:44:51 +03:00

26 lines
884 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} запустил пайплайн 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Checkout code from Gitea
uses: actions/checkout@v4
with:
repository: ${{ gitea.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Show repo info
run: |
echo "🎉 Запущено от: ${{ gitea.actor }}"
echo "🔎 Ветка: ${{ gitea.ref }}"
echo "📁 Репозиторий: ${{ gitea.repository }}"
echo "📂 Содержимое папки:"
ls -la
- name: Проверка Gitea API
run: |
echo "✅ Gitea instance: ${{ gitea.server_url }}"
curl -s ${{ gitea.server_url }}/api/v1/version | echo "Версия Gitea: $(cat)"