Skip to content

Commit 2e1984b

Browse files
Update build-prod.yml
1 parent c46c6fd commit 2e1984b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build-prod.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,12 @@ jobs:
99
runs-on: [self-hosted, dev] # Cible le runner de production
1010

1111
steps:
12-
- name: Configurer Git avec le token
13-
shell: cmd
14-
run: |
15-
git config --global url."https://${{ secrets.AUTOMATISATION_BUILD }}@github.com".insteadOf "https://github.com"
16-
git config --global credential.helper store
17-
echo "https://${{ secrets.AUTOMATISATION_BUILD }}:x-oauth-basic@github.com" > %USERPROFILE%\.git-credentials
18-
1912
- name: Checkout du code
2013
uses: actions/checkout@v4
2114
with:
2215
token: ${{ secrets.AUTOMATISATION_BUILD }}
2316
submodules: recursive
17+
persist-credentials: true
2418

2519
- name: Vérifier les sous-modules
2620
shell: cmd

0 commit comments

Comments
 (0)