This commit is contained in:
parent
8d9eef8c97
commit
52b77a2ae0
@ -17,7 +17,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies and build
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v "${PWD}:/app" -w /app node:24-alpine sh -c "npm install --registry=https://registry.npmmirror.com && npm run build"
|
echo "Current directory: $(pwd)"
|
||||||
|
echo "GitHub workspace: $GITHUB_WORKSPACE"
|
||||||
|
ls -la
|
||||||
|
docker run --rm -v "$GITHUB_WORKSPACE:/app" -w /app node:20 sh -c "ls -la && npm install --registry=https://registry.npmmirror.com && npm run build"
|
||||||
|
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: appleboy/scp-action@v0.1.7
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user