Commit caa793a3401b92b0ef2006ab90c4dd30b7ab7d5c

Anthony Green 2022-09-03T08:35:56

Try new scp

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c155aac..a4413af 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -125,17 +125,19 @@ jobs:
           key: ${{ secrets.CFARM_KEY }}
           port: ${{ matrix.CFARM_PORT }}
           script: |
-            mkdir -p ga/${{ env.GITHUB_RUN_NUMBER }}
+            env
+            mkdir -p new/${{ env.GITHUB_RUN_NUMBER }}
 
       - name: Copy source to remote server
-        uses: appleboy/scp-action@master
+        uses: nicklasfrahm/scp-action@main
         with:
+          direction: upload
           host: ${{ matrix.CFARM_HOST }}
           username: ${{ secrets.CFARM_USERNAME }}
           key: ${{ secrets.CFARM_KEY }}
           port: ${{ matrix.CFARM_PORT }}
           source: "*"
-          target: "ga/${{ env.GITHUB_RUN_NUMBER }}"
+          target: "new/${{ env.GITHUB_RUN_NUMBER }}"
 
       - name: SSH Remote Commands
         uses: appleboy/ssh-action@v0.1.5
@@ -146,7 +148,7 @@ jobs:
           port: ${{ matrix.CFARM_PORT }}
           script: |
             ls -l
-            cd ga/${{ env.GITHUB_RUN_NUMBER }}
+            cd new/${{ env.GITHUB_RUN_NUMBER }}
             ./configure
             make
             make check