Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PainOchoco committed Nov 24, 2023
1 parent 1d5404f commit 4fd1dc0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
paths-ignore:
- 'README.md'
- '.gitignore'
- '.github/workflows/maven-publish.yml'

jobs:
build:
Expand Down Expand Up @@ -47,12 +46,13 @@ jobs:
name: laboulangeriemmo
- name: Clone Plugins Project
run: |
git config --global user.email "${{ secrets.GH_EMAIL }}"
git config --global user.name "${{ secrets.GH_USER }}"
git clone https://${{ secrets.GH_USER }}:${{ secrets.GH_TOKEN }}@github.com/LaBoulangerie/Plugins.git
git config --global user.name "octocroissant[bot]"
git config --global user.email 149737708+octocroissant[bot]@users.noreply.github.com
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git clone https://octocroissant[bot]:${{ secrets.PAT_TOKEN }}@github.com/LaBoulangerie/Server.git
mv *.jar LaBoulangerieMmo.jar
cp **.jar Plugins/
cd Plugins/
cp **.jar Server/plugins/
cd Server
git add .
git commit -m "workflow $GITHUB_RUN_ID from $GITHUB_REPOSITORY"
git push https://${{ secrets.GH_USER }}:${{ secrets.GH_TOKEN }}@github.com/LaBoulangerie/Plugins.git HEAD:master
git commit -m "Update artifact from $GITHUB_REPOSITORY"
git push

0 comments on commit 4fd1dc0

Please sign in to comment.