mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-03-31 06:13:21 +02:00
Update build_and_deploy.yml
This commit is contained in:
12
.github/workflows/build_and_deploy.yml
vendored
12
.github/workflows/build_and_deploy.yml
vendored
@@ -3,8 +3,11 @@ name: Build & Deploy
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: oauth-playground.online
|
||||||
|
url: https://sso.oauth-playground.online
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Java JDK
|
- name: Setup Java JDK
|
||||||
@@ -14,13 +17,6 @@ jobs:
|
|||||||
java-version: '20'
|
java-version: '20'
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: ./mvnw install
|
run: ./mvnw install
|
||||||
deploy:
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment:
|
|
||||||
name: oauth-playground.online
|
|
||||||
url: https://sso.oauth-playground.online
|
|
||||||
steps:
|
|
||||||
- name: Install SSH Key
|
- name: Install SSH Key
|
||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user