Pipeline test update
This commit is contained in:
@@ -9,7 +9,9 @@ jobs:
|
||||
# ── Test ──────────────────────────────────────────────────────────────────
|
||||
# Runs on every push and every PR. Must pass before deploy proceeds.
|
||||
test:
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.23-alpine
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -34,7 +36,7 @@ jobs:
|
||||
# 3. Add the user to the 'docker' group: sudo synogroup --member docker deploy-user
|
||||
deploy:
|
||||
needs: test
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user