diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 4aca7fc4..edde33b5 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -6,7 +6,7 @@ on: - master env: - REPO: ${{ $GITHUB_REPOSITORY//*\// }} + REPO: jobs: build: @@ -29,5 +29,5 @@ jobs: METHOD: sftp PORT: ${{ secrets.FTP_PORT }} LOCAL_DIR: dist - REMOTE_DIR: /www/d2-admin/preview + REMOTE_DIR: ${{ /www/${GITHUB_REPOSITORY//*\//}/preview }} ARGS: --delete --verbose --parallel=100 \ No newline at end of file