Skip to content

Commit aad9dfa

Browse files
authored
fix: test dot slash
1 parent 1d4c0d2 commit aad9dfa

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,6 @@ jobs:
3535
echo "Build output files:"
3636
find out/ -type f | head -10
3737
38-
- name: Test - Check deployment configuration (PR only)
39-
if: github.event_name == 'pull_request'
40-
run: |
41-
echo "🧪 Testing deployment configuration..."
42-
echo "Event: ${{ github.event_name }}"
43-
echo "Ref: ${{ github.ref }}"
44-
echo "Would deploy on tag creation: ${{ startsWith(github.ref, 'refs/tags/v') }}"
45-
echo "FTP_HOST is set: ${{ secrets.FTP_HOST != '' }}"
46-
echo "FTP_USERNAME is set: ${{ secrets.FTP_USERNAME != '' }}"
47-
echo "FTP_PASSWORD is set: ${{ secrets.FTP_PASSWORD != '' }}"
48-
echo "Local directory exists: $([ -d './out/' ] && echo 'Yes' || echo 'No')"
49-
if [ -d './out/' ]; then
50-
echo "Files to deploy: $(find ./out/ -type f | wc -l)"
51-
echo "Directory size: $(du -sh ./out/)"
52-
fi
53-
5438
- name: Deploy to FTP (Production)
5539
if: github.event_name == 'pull_request'
5640
uses: SamKirkland/FTP-Deploy-Action@4.3.0
@@ -59,7 +43,7 @@ jobs:
5943
username: ${{ secrets.FTP_USERNAME }}
6044
password: ${{ secrets.FTP_PASSWORD }}
6145
local-dir: ./out/
62-
server-dir: www/new/
46+
server-dir: ./new/
6347
exclude: |
6448
**/.git*
6549
**/.git*/**

0 commit comments

Comments
 (0)