From cfc3f8f71cdd44a87d52c2bdecf27aae7b8017e3 Mon Sep 17 00:00:00 2001 From: Khosrow Moossavi Date: Tue, 12 Nov 2024 16:04:20 -0500 Subject: [PATCH] [ci rebuild sources] temp: rebuild all sources --- .github/workflows/rebuild-sources.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rebuild-sources.yml b/.github/workflows/rebuild-sources.yml index 8713551..8940f2c 100644 --- a/.github/workflows/rebuild-sources.yml +++ b/.github/workflows/rebuild-sources.yml @@ -1,6 +1,9 @@ name: Rebuild Sources on: + push: + branches-ignore: + - main pull_request: jobs: @@ -37,9 +40,9 @@ jobs: set -e set -x - ssh-keyscan -H ${{ secrets.KAMATERA_HOSTNAME2 }} >> ~/.ssh/known_hosts + ssh-keyscan -H 207.126.167.82 >> ~/.ssh/known_hosts mkdir -p "${{ steps.init.outputs.PKG_BUILD_DIR }}" - rsync -avzh --include="*.orig.tar.gz" --include="*.debian.tar.xz" --exclude="*/*/*/*" root@${{ secrets.KAMATERA_HOSTNAME2 }}:/opt/archives/repos-merged/ "${{ steps.init.outputs.PKG_BUILD_DIR }}" + rsync -avzh --include="*.orig.tar.gz" --include="*.debian.tar.xz" --exclude="*/*/*/*" root@207.126.167.82:/opt/archives/repos-merged/ "${{ steps.init.outputs.PKG_BUILD_DIR }}" - name: Build run: | @@ -52,4 +55,4 @@ jobs: set -e set -x - for i in 1 2 3 4 5; do echo "Attempt $i" && rsync -avzh ${{ steps.init.outputs.PKG_BUILD_DIR }}/ root@${{ secrets.KAMATERA_HOSTNAME2 }}:/opt/archives/repos-merged/ && break || sleep 5; done + for i in 1 2 3 4 5; do echo "Attempt $i" && rsync -avzh ${{ steps.init.outputs.PKG_BUILD_DIR }}/ root@207.126.167.82:/opt/archives/repos-merged/ && break || sleep 5; done