From 7565063da731766e7ba1507d5fd1035d41c01326 Mon Sep 17 00:00:00 2001 From: Mathieu NICOLAS <65437872+mathieunicolas@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:48:15 +0200 Subject: [PATCH] Update gitlabsync.yml --- .github/workflows/gitlabsync.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gitlabsync.yml b/.github/workflows/gitlabsync.yml index a0105e2..7131936 100644 --- a/.github/workflows/gitlabsync.yml +++ b/.github/workflows/gitlabsync.yml @@ -1,19 +1,19 @@ name: gitlabsync on: - - push - - delete + push: + delete: jobs: sync: - runs-on: ubuntu-latest + runs-on: ubuntu-latest # Assurez-vous de spécifier l'environnement name: Git Repo Sync steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: wangchucheng/git-repo-sync@v0.1.0 - with: - target-url: https://forge.apps.education.fr/nsi-rocks/fullstack - target-username: mathieu.nicolas - target-token: ${{ secrets.GITLAB_TOKEN }} + - uses: actions/checkout@v3 # Mise à jour vers la version v3 + with: + fetch-depth: 0 + - uses: wangchucheng/git-repo-sync@v0.1.0 + with: + target-url: https://forge.apps.education.fr/nsi-rocks/fullstack + target-username: mathieu.nicolas + target-token: ${{ secrets.GITLAB_TOKEN }}