diff --git a/.github/workflows/test-with-example.yml b/.github/workflows/test-with-example.yml
index abf116c006ce34fba9e6305881110c3bf91c8883..ee46c094409b91e719266d2bc7cd560233179e38 100644
--- a/.github/workflows/test-with-example.yml
+++ b/.github/workflows/test-with-example.yml
@@ -8,11 +8,28 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-      - uses: GuillaumeFalourd/create-other-repo-branch-action@v1.5
+      - name: Set new submodule in new branch on Osuny Example
+        uses: actions/checkout@v4
         with:
-          repository_owner: noesya
-          repository_name: osuny-example
-          new_branch_name: ${GITHUB_REF##*/}
-          access_token: ${{ secrets.ACCESS_TOKEN}}
-
-# Il faudrait switcher le submodule sur la même branche 
\ No newline at end of file
+          repository: noesya/osuny-example
+          submodules: 'recursive'
+          token: ${{ secrets.OSUNY_EXAMPLE_TOKEN }}
+      - name: Create new branch on Example
+        run: |
+          git config user.name osuny-bot
+          git config user.email osuny@noesya.coop
+          echo "== Creating new branch =="
+          git checkout -b theme--${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
+      - name: Checkout submodule
+        uses: actions/checkout@v4
+        with:
+          repository: noesya/osuny-hugo-theme-aaa
+          token: ${{ secrets.OSUNY_EXAMPLE_TOKEN }}
+          path: themes/osuny-hugo-theme-aaa
+          ref: ${{ github.head_ref || github.ref_name }}
+      - name: Pushing new branch on Example
+        run: |
+          echo "== Pushing branch =="
+          git add .
+          git commit -m "Updated theme to ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} branch."
+          git push -f origin theme--${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
\ No newline at end of file