runs on: docker1
This commit is contained in:
@@ -12,7 +12,7 @@ env:
|
||||
jobs:
|
||||
# ── BUILD SERVER ─────────────────────────────────────────────────────────────
|
||||
build-server:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker1
|
||||
if: |
|
||||
contains(toJSON(github.event.commits.*.modified), 'server/') ||
|
||||
contains(toJSON(github.event.commits.*.modified), 'pnpm-lock.yaml') ||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
# ── BUILD WEBCLIENT ───────────────────────────────────────────────────────────
|
||||
build-webclient:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker1
|
||||
if: |
|
||||
contains(toJSON(github.event.commits.*.modified), 'webclient/') ||
|
||||
contains(toJSON(github.event.commits.*.modified), 'pnpm-lock.yaml') ||
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
|
||||
# ── DEPLOY ────────────────────────────────────────────────────────────────────
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker1
|
||||
needs: [build-server, build-webclient]
|
||||
# Запускается даже если один из build-job-ов был пропущен
|
||||
if: always() && !failure() && !cancelled()
|
||||
|
||||
Reference in New Issue
Block a user