Remove SPA and deploy-ui workflow: moved to lair/rpm.lair.cafe
All checks were successful
poll-upstream / check (push) Successful in 14s
poll-upstream / check-prerelease (push) Successful in 13s

The rpm.lair.cafe web UI now lives in its own repo (lair/rpm.lair.cafe)
since multiple package repos publish to the shared rpm repo; hosting the
shared UI inside one package repo no longer made sense.
This commit is contained in:
grenade
2026-07-02 11:15:45 +03:00
parent 34a28b5457
commit aa62fc797d
21 changed files with 0 additions and 2522 deletions

View File

@@ -1,53 +0,0 @@
name: deploy-ui
on:
push:
branches: [main]
paths:
- "ui/**"
- ".gitea/workflows/deploy-ui.yml"
workflow_dispatch: {}
jobs:
build-and-deploy:
runs-on: fedora-43
env:
RPM_REPO_HOST: oolon.kosherinata.internal
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
cd ui
npm ci
- name: Build UI
run: |
cd ui
npm run build
- name: Set up SSH
run: |
install --directory --mode 700 ~/.ssh
echo "${RSYNC_SSH_KEY}" | install --mode 600 /dev/stdin ~/.ssh/id_ed25519
env:
RSYNC_SSH_KEY: ${{ secrets.RSYNC_SSH_KEY }}
- name: Test SSH connectivity
run: |
ssh -o StrictHostKeyChecking=accept-new "gitea_ci@${RPM_REPO_HOST}" exit
- name: Deploy UI to web root
run: |
rsync \
--recursive \
--links \
--verbose \
--delete \
--chmod D755,F644 \
--include="index.html" \
--include="*.repo" \
--include="assets/***" \
--exclude="*" \
ui/dist/ \
"gitea_ci@${RPM_REPO_HOST}:/var/www/rpm/"