maj workflow
Some checks failed
Build & Deploy to Hostverge FTP (Gitea Actions) / build-and-deploy (push) Failing after 6s
Some checks failed
Build & Deploy to Hostverge FTP (Gitea Actions) / build-and-deploy (push) Failing after 6s
This commit is contained in:
@@ -11,8 +11,19 @@ jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 📥 Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: 📥 Clone Repository
|
||||
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
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
Reference in New Issue
Block a user