chore: update ci-cd.yml
This commit is contained in:
@@ -24,6 +24,20 @@ jobs:
|
||||
MYSQL_DATABASE: test
|
||||
|
||||
steps:
|
||||
- name: Debug Environment
|
||||
run: |
|
||||
echo "=== Environment Debug ==="
|
||||
echo "PWD: $(pwd)"
|
||||
echo "USER: $(whoami)"
|
||||
echo "PATH: $PATH"
|
||||
echo "Available commands:"
|
||||
which git || echo "git not found"
|
||||
which node || echo "node not found"
|
||||
which npm || echo "npm not found"
|
||||
echo "OS Info:"
|
||||
cat /etc/os-release || echo "os-release not found"
|
||||
echo "=== End Debug ==="
|
||||
|
||||
- name: Checkout Code
|
||||
run: |
|
||||
git clone --depth=1 --branch=${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} .
|
||||
|
||||
Reference in New Issue
Block a user