feat: try fix cd
This commit is contained in:
+1
-17
@@ -15,25 +15,9 @@ jobs:
|
|||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- name: Configuration SSH
|
||||||
run: |
|
run: |
|
||||||
echo "HOME=${HOME}"
|
mkdir -p "$HOME/.ssh"
|
||||||
mkdir -p "$HOME/.ssh" && echo "mkdir OK" || echo "mkdir FAILED"
|
|
||||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" \
|
echo "${{ secrets.DEPLOY_SSH_KEY }}" \
|
||||||
> "$HOME/.ssh/id_ed25519"
|
> "$HOME/.ssh/id_ed25519"
|
||||||
chmod 600 "$HOME/.ssh/id_ed25519"
|
chmod 600 "$HOME/.ssh/id_ed25519"
|
||||||
|
|||||||
Reference in New Issue
Block a user