From 37ac4ab53f171b3898de867346c4ced0ecec9570 Mon Sep 17 00:00:00 2001 From: SuLingGG <1215009714@QQ.COM> Date: Thu, 18 Nov 2021 18:43:59 +0800 Subject: [PATCH] Workflows: Fix upload path name --- .github/workflows/bcm27xx-bcm2708.yml | 12 ++++++------ .github/workflows/bcm27xx-bcm2709.yml | 12 ++++++------ .github/workflows/bcm27xx-bcm2710.yml | 12 ++++++------ .github/workflows/bcm27xx-bcm2711.yml | 12 ++++++------ .github/workflows/ipq40xx-generic.yml | 12 ++++++------ .github/workflows/rockchip-armv8.yml | 12 ++++++------ .github/workflows/x86-64.yml | 12 ++++++------ 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/bcm27xx-bcm2708.yml b/.github/workflows/bcm27xx-bcm2708.yml index 62cce5590..0309c3e99 100644 --- a/.github/workflows/bcm27xx-bcm2708.yml +++ b/.github/workflows/bcm27xx-bcm2708.yml @@ -386,7 +386,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -395,15 +395,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -412,8 +412,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release diff --git a/.github/workflows/bcm27xx-bcm2709.yml b/.github/workflows/bcm27xx-bcm2709.yml index 59ddb7117..8d2824084 100644 --- a/.github/workflows/bcm27xx-bcm2709.yml +++ b/.github/workflows/bcm27xx-bcm2709.yml @@ -386,7 +386,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -395,15 +395,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -412,8 +412,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release diff --git a/.github/workflows/bcm27xx-bcm2710.yml b/.github/workflows/bcm27xx-bcm2710.yml index 975f2d0ed..326cdd823 100644 --- a/.github/workflows/bcm27xx-bcm2710.yml +++ b/.github/workflows/bcm27xx-bcm2710.yml @@ -386,7 +386,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -395,15 +395,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -412,8 +412,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release diff --git a/.github/workflows/bcm27xx-bcm2711.yml b/.github/workflows/bcm27xx-bcm2711.yml index 022c0af87..0e0be6564 100644 --- a/.github/workflows/bcm27xx-bcm2711.yml +++ b/.github/workflows/bcm27xx-bcm2711.yml @@ -388,7 +388,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -397,15 +397,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -414,8 +414,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release diff --git a/.github/workflows/ipq40xx-generic.yml b/.github/workflows/ipq40xx-generic.yml index fa16dbab1..1591d9f9c 100644 --- a/.github/workflows/ipq40xx-generic.yml +++ b/.github/workflows/ipq40xx-generic.yml @@ -382,7 +382,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -391,15 +391,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -408,8 +408,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release diff --git a/.github/workflows/rockchip-armv8.yml b/.github/workflows/rockchip-armv8.yml index 6a697e6ca..a1af8b746 100644 --- a/.github/workflows/rockchip-armv8.yml +++ b/.github/workflows/rockchip-armv8.yml @@ -385,7 +385,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -394,15 +394,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -411,8 +411,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release diff --git a/.github/workflows/x86-64.yml b/.github/workflows/x86-64.yml index 4108c06fe..fc40caf6e 100644 --- a/.github/workflows/x86-64.yml +++ b/.github/workflows/x86-64.yml @@ -385,7 +385,7 @@ jobs: env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.HOSTHATCH_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.HOSTHATCH_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -394,15 +394,15 @@ jobs: echo "${{ secrets.HOSTHATCH_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To PacificRack Node env: HOST: "${{ secrets.REMOTE_USER }}@${{ secrets.PACIFICRACK_IP }}" SOURCE_TARGETS: "${{ env.OPENWRT_ROOT_PATH }}/bin/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" - DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/snapshots/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" + DEST_TARGETS: "${{ env.WEB_ROOT_PATH }}/releases/targets/${{ env.DEVICE_TARGET }}/${{ env.DEVICE_SUBTARGET }}/" REMOTE_PRIVATEKEY: "${{ secrets.PACIFICRACK_PRIVATEKEY }}" if: env.REMOTE_PRIVATEKEY != null run: | @@ -411,8 +411,8 @@ jobs: echo "${{ secrets.PACIFICRACK_PRIVATEKEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh -q -t -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $HOST \ - bash -c "'mkdir -p $WEB_ROOT_PATH/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ - $WEB_ROOT_PATH/snapshots/packages/$DEVICE_PLATFORM'" + bash -c "'mkdir -p $WEB_ROOT_PATH/releases/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET \ + $WEB_ROOT_PATH/releases/packages/$DEVICE_PLATFORM'" rsync -chavP --delete -e 'ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' $SOURCE_TARGETS $HOST:$DEST_TARGETS - name: Deploy Files To Release