maj workflow
Some checks failed
Build & Deploy to Hostverge FTP (Gitea Actions) / build-and-deploy (push) Failing after 6s

This commit is contained in:
streaper2
2026-09-27 20:05:07 +02:00
parent 5ae50f7d4f
commit 9499157f71

View File

@@ -11,8 +11,19 @@ jobs:
build-and-deploy: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 📥 Checkout repository - name: 📥 Clone Repository
uses: actions/checkout@v4 env:
GITEA_TOKEN: ${{ gitea.token }}
run: |
echo "=== Test résolution DNS ==="
getent hosts git.kaelstudio.tech || echo "DNS introuvable"
echo "=== Initialisation Git & Clone ==="
git config --global http.sslVerify false
git init .
git remote add origin "https://${GITEA_TOKEN}@git.kaelstudio.tech/${{ gitea.repository }}.git" || true
git fetch --depth=1 origin "${{ gitea.ref_name || 'main' }}"
git checkout -f FETCH_HEAD
- name: 🟢 Setup Node.js 20 - name: 🟢 Setup Node.js 20
uses: actions/setup-node@v4 uses: actions/setup-node@v4