diff --git a/.gitea/workflows/archive.yml b/.gitea/workflows/archive.yml new file mode 100644 index 0000000..4dd8996 --- /dev/null +++ b/.gitea/workflows/archive.yml @@ -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 \ No newline at end of file diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8025980..3f52f64 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -54,22 +54,22 @@ jobs: cd web npm run build - create-archives: - needs: [test-backend, test-frontend] - runs-on: ubuntu-latest - if: github.event_name == 'workflow_dispatch' && always() - steps: - - name: Проверка кода - uses: actions/checkout@v4 + # create-archives: + # needs: [test-backend, test-frontend] + # runs-on: ubuntu-latest + # if: github.event_name == 'workflow_dispatch' && always() + # 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 + # - name: Загрузка артифакта + # uses: actions/upload-artifact@v3 + # with: + # name: build-artifacts-${{ github.run_id }} + # path: | + # api/ + # web/ + # retention-days: 7 # Явный статус для PR pr-status: