feat: try fix cd
This commit is contained in:
+17
-1
@@ -15,9 +15,25 @@ jobs:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🔍 Debug environnement runner
|
||||
run: |
|
||||
echo "=== USER ==="
|
||||
whoami || echo "whoami failed"
|
||||
echo "=== HOME ==="
|
||||
echo "HOME=${HOME}"
|
||||
echo "=== Variables env ==="
|
||||
env | grep -E "HOME|USER|RUNNER|GITHUB" || true
|
||||
echo "=== Permissions / ==="
|
||||
ls -la / | head -20 || true
|
||||
echo "=== Permissions $HOME ==="
|
||||
ls -la "$HOME" || echo "Impossible de lister HOME"
|
||||
echo "=== Test écriture ==="
|
||||
touch "$HOME/test_write" && echo "Écriture OK" || echo "Écriture IMPOSSIBLE"
|
||||
|
||||
- name: Configuration SSH
|
||||
run: |
|
||||
mkdir -p "$HOME/.ssh"
|
||||
echo "HOME=${HOME}"
|
||||
mkdir -p "$HOME/.ssh" && echo "mkdir OK" || echo "mkdir FAILED"
|
||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" \
|
||||
> "$HOME/.ssh/id_ed25519"
|
||||
chmod 600 "$HOME/.ssh/id_ed25519"
|
||||
|
||||
Reference in New Issue
Block a user