Add backend CI/CD workflow
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: [psgcicd01] # your central build runner
|
runs-on: [cicd] # your central build runner
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
path: build/libs/*.jar
|
path: build/libs/*.jar
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: [psgbuild01] # your backend host runner
|
runs-on: [backend] # your backend host runner
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user