ci(admin-web): Docker build & push vers registry Gitea + reusable tests #10
23
.github/workflows/pr-iphone-deploy.yml
vendored
23
.github/workflows/pr-iphone-deploy.yml
vendored
@@ -8,9 +8,6 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
types: [opened, synchronize, reopened]
|
||||
paths:
|
||||
- 'tabatago-swift/**'
|
||||
- '.github/workflows/pr-iphone-deploy.yml'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -18,8 +15,28 @@ permissions:
|
||||
|
||||
jobs:
|
||||
|
||||
# ── Path filter — only run if tabatago-swift changed ──
|
||||
changes:
|
||||
name: Detect Changes
|
||||
runs-on: nas-runner
|
||||
outputs:
|
||||
tabatago-swift: ${{ steps.filter.outputs.tabatago-swift }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
tabatago-swift:
|
||||
- 'tabatago-swift/**'
|
||||
|
||||
build-deploy:
|
||||
name: Build & Deploy to iPhone (WiFi/USB)
|
||||
needs: changes
|
||||
if: needs.changes.outputs.tabatago-swift == 'true'
|
||||
runs-on: macos
|
||||
timeout-minutes: 20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user