Skip to content

Commit

Permalink
zbre zbre
Browse files Browse the repository at this point in the history
  • Loading branch information
PainOchoco committed Sep 30, 2023
1 parent 9a0a783 commit bcc1c94
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -16,11 +17,12 @@ jobs:
with:
path: ~/.m2
key: ${{ github.repository }}-build-${{ env.cache-name }}-${{ hashFiles('pom.xml') }}
- name: JDk 1.17 setup
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 1.17
- uses: s4u/[email protected]
- name: Setup maven settings.xml
uses: s4u/[email protected]
with:
servers: |
[{
Expand All @@ -45,9 +47,9 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "ci"
git clone https://ci:${{ secrets.GH_TOKEN }}@git.laboulangerie.net/ci/plugins.git
git clone https://ci:${{ secrets.PAT_TOKEN }}@github.com/PainOchoco/Server.git
cp LaBoulangerieAPI-jar-with-dependencies.jar plugins/LaBoulangerieAPI.jar
cd plugins/
git add .
git commit -m "workflow $GITHUB_RUN_ID from $GITHUB_REPOSITORY"
git push https://ci:${{ secrets.GH_TOKEN }}@git.laboulangerie.net/ci/plugins.git HEAD:master
git push

0 comments on commit bcc1c94

Please sign in to comment.