Skip to content

Commit 4e4b785

Browse files
maximejolivetclaude
andcommitted
Update ci-cd.yml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0bd76fb commit 4e4b785

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ jobs:
8585
with:
8686
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
8787

88+
# Récupérer l'IP publique du runner GitHub
89+
- name: Get runner's public IP
90+
id: ip
91+
uses: haythem/public-ip@v1.3
92+
8893
- name: Deploy - git pull, composer install, drush update
8994
env:
9095
SSH_HOST: ${{ secrets.SSH_HOST }}
@@ -99,7 +104,7 @@ jobs:
99104
git fetch origin deploy
100105
git reset --hard origin/deploy
101106
export COMPOSER_MEMORY_LIMIT=-1
102-
"$PHP_BIN" -d memory_limit=-1 \$(which composer) install --no-dev --optimize-autoloader --no-progress --no-interaction
107+
\$(which composer) install --no-dev --optimize-autoloader --no-progress --no-interaction
103108
"$PHP_BIN" vendor/bin/drush updatedb -y
104109
"$PHP_BIN" vendor/bin/drush config:import -y
105110
"$PHP_BIN" vendor/bin/drush cache:rebuild

0 commit comments

Comments
 (0)