mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-01-11 14:30:48 +01: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:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: oauth-playground.online
|
||||
url: https://sso.oauth-playground.online
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Java JDK
|
||||
@@ -14,13 +17,6 @@ jobs:
|
||||
java-version: '20'
|
||||
- name: Build project
|
||||
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
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user