diff --git a/.github/workflows/ipq807x.yaml b/.github/workflows/ipq807x.yaml index 0e82b248847ac8..e5934f08650f2f 100644 --- a/.github/workflows/ipq807x.yaml +++ b/.github/workflows/ipq807x.yaml @@ -24,6 +24,7 @@ jobs: echo "CONFIG_TARGET_PER_DEVICE_ROOTFS=y\n" >> .config echo "CONFIG_TARGET_ROOTFS_INITRAMFS=y\n" >> .config echo "CONFIG_TARGET_INITRAMFS_COMPRESSION_ZSTD=y\n" >> .config + echo "CONFIG_ALL_NONSHARED=y\n" >> .config echo "CONFIG_PACKAGE_luci=y\n" >> .config echo "CONFIG_PACKAGE_wpad-basic-wolfssl=m\n" >> .config echo "CONFIG_PACKAGE_wpad-wolfssl=y\n" >> .config @@ -47,6 +48,18 @@ jobs: make -j$(nproc) V=s || \ make V=s + - name: Install SSH Key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_PRIVATE_KEY }} + known_hosts: unnecessary + + - name: Adding known hosts + run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts + + - name: Push nonshared packages to feed + run: rsync -avzr --delete bin/targets/ipq807x/generic/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/home/ubuntu/openwrt-feed + - name: Remove packages run: rm -rf bin/targets/ipq807x/generic/packages