fix(ci,deploy-ift): artifact v3 для Gitea, deploy без conclusion check
CI / test (push) Successful in 3m10s
CI / push-image (push) Successful in 1m54s
CI / ci-done (push) Successful in 0s
Deploy stage (admin) / deploy-stage-admin (push) Successful in 1m17s

upload-artifact@v4 не работает на Gitea (GHES). deploy-ift skipped из-за
пустого workflow_run.conclusion — проверка образа вместо if success.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-11 23:18:27 +03:00
parent 3d2913d629
commit db1417332d
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ jobs:
- name: Upload dist for docker job - name: Upload dist for docker job
if: github.event_name == 'push' if: github.event_name == 'push'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: admin-ui-dist name: admin-ui-dist
path: dist/ path: dist/
@@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Download dist from test job - name: Download dist from test job
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: admin-ui-dist name: admin-ui-dist
path: dist path: dist
+2 -3
View File
@@ -16,9 +16,8 @@ env:
jobs: jobs:
deploy-ift-admin: deploy-ift-admin:
if: | # Gitea: workflow_run.conclusion часто пустой → job skipped. Проверка образа ниже.
github.event_name == 'workflow_dispatch' || if: github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_run'
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
steps: steps: