wip: ci/cd
Some checks failed
Deploy Production Server / if_merged (push) Failing after 49s

This commit is contained in:
Thibaut Valentin 2024-12-29 13:21:56 +01:00
parent 3c8721d706
commit 58b84c2451

View File

@ -1,17 +1,11 @@
name: Deploy Production Server
# Only run the workflow when a PR is merged on main and closed
on:
pull_request:
types:
- closed
branches:
- 'master'
on: [push]
# Here we check that the PR was correctly merged to main
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -19,7 +13,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '17.0.12'
distribution: 'graalvm'
cache: 'maven'