Add manual archiving workflow to Gitea CI
All checks were successful
CI/CD / test-backend (pull_request) Successful in 7s
CI/CD / test-frontend (pull_request) Successful in 9s
CI/CD Pipeline / Overall Status ✅ Все проверки прошли успешно
CI/CD / pr-status (pull_request) Successful in 1s

- Introduced a new workflow for manual archiving, allowing users to trigger the creation of archives for the api and web directories.
- The workflow includes steps for code checkout and artifact upload with a retention policy of 7 days.
This commit is contained in:
2026-03-24 13:21:48 +03:00
parent 288a2d81a1
commit b3eaf03627
2 changed files with 35 additions and 15 deletions

View File

@@ -0,0 +1,20 @@
name: Ручная архивация
on:
workflow_dispatch: # только ручной запуск
jobs:
create-archives:
runs-on: ubuntu-latest
steps:
- name: Проверка кода
uses: actions/checkout@v4
- name: Загрузка артифакта
uses: actions/upload-artifact@v3
with:
name: build-artifacts-${{ github.run_id }}
path: |
api/
web/
retention-days: 7