Skip to content

Commit

Permalink
CI: push nonshared packages to temporary feed
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
robimarko committed Jan 2, 2023
1 parent 460fd28 commit b352ba6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ipq807x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit b352ba6

Please sign in to comment.